REX 操作系统和 Brew 操作系统之间的关系?
我看到一些带有 REX 操作系统的设备,但它支持 Brew Zone、应用程序。但BREW本身就是OS,我想知道REX和BREW有什么区别,它们之间的关系。有人可以帮忙吗?在某些CDMA设备中,应用平台为BREW,操作系统为REX。
I see some devices with REX OS, but it supports Brew Zone, Applications. But BREW itself is the OS, I want to know what is the difference between REX and BREW, relationship between them. Can anyone help? Application platform is as BREW and OS is as REX in some CDMA devices.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以通过与最流行的桌面环境(Microsoft Windows XP/Vista/7 操作系统和 Microsoft .NET 应用程序框架)(诚然不完美)的类比来理解 REX 和 BREW/BrewMP 之间的关系。
.NET 框架是一组现代的库、用户界面控件和数据管理 API。 .NET 与平台和语言无关(它可以在 Windows 和 Linux 上运行,并支持多种语言 - C#、C++、Visual Basic、Ruby 等)。在这种环境中,.NET 不是您的操作系统;而是您的操作系统。 Windows 是计算机上的操作系统,.NET 框架运行在 Windows 操作系统之上,在其实现中内部使用 Win32 API。与大多数基于 C 的非托管 Win32 API 相比,.NET 的级别更高,更容易编程。
类似地,REX OS 是 Qualcomm 使用的实时操作系统,并提供 BREW / BrewMP 作为应用程序框架。就像在 Windows 中一样,您可以针对本机 REX API 编写应用程序,并且可以使用 BREW API。 BREW 框架是更高级别的,支持多种语言,二进制向后兼容,有一个不错的模拟器,并提供 UI 控件包。因此,在 BREW 手机上,REX 是“真正的”操作系统,但大多数(如果不是全部)应用程序都使用 BREW API 并在 BREW 框架内运行。
此图表很好地体现了这种关系 - 您可以将 REX 视为位于“手机 API”下方。
BREW 应用程序还具有代码签名、分发和认证流程,使应用程序编写者可以更轻松地支持多个设备和操作员。如果您想在手机上安装 REX 程序,您必须直接与 OEM 联系,因为它将成为操作系统的一部分,并且必须随操作系统一起安装。
You can understand the relationship between REX and BREW / BrewMP by way of an (admittedly not perfect) analogy with the most popular desktop environment: the Microsoft Windows XP/Vista/7 operating system and the Microsoft .NET application framework.
.NET framework is a modern set of libraries, user interface controls, and data management APIs. .NET is platform-and language-independent (it can run on Windows and Linux, and supports multiple languages - C#, C++, Visual Basic, Ruby etc.). In this environment, .NET is not your OS; Windows is the operating system on the computer, and the .NET framework runs on top of the Windows OS, using Win32 APIs internally in its implementation. .NET is higher-level and easier to program for in comparison with mostly C-based, unmanaged Win32 API.
In a similar fashion, REX OS is a real-time operating system used by Qualcomm, with BREW / BrewMP available as an application framework. Just like in Windows, you can write applications against the native REX APIs, and you can use the BREW APIs. The BREW framework is higher-level, supports multiple languages, is binary backward-compatible, has a decent simulator, and offers a UI controls package. So on a BREW phone, REX is the "real" operating system, but most if not all apps are using BREW APIs and run within the BREW framework.
This chart represents the relationship well - you can think of REX as being below the "Handset APIs".
BREW apps also have code signing, distribution, and certification processes that make it easier for application writers to support multiple devices and operators. If you would like to get your REX program on a phone, you will have to talk with the OEM directly, as it would become a part of, and would have to be installed with, the operating system.