黑莓 6 至黑莓 5
我有一个 Blackberry 6 应用程序,我想将其转换为 Blackberry 5 应用程序,有什么方法可以实现吗?
我可以通过某种方式在 Blackberry 5 中使用 Blackberry 6 库吗?或者我必须为 Blackberry 5 重新做一遍
I have a Blackberry 6 Application and I want to convert it to Blackberry 5 Application is there any way I can make it
Can I some way use Blackberry 6 library in Blackberry 5 OR I have to do it all over again for Blackberry 5
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
因此,您有一个为 BlackBerry OS6 创建的应用程序,现在您希望它也能在 Blackberry OS5 上运行。
您无法在 BlackBerry OS5 中使用 Blackberry OS6 特定库。没有什么比兼容性包更好的了 就像 Android 一样,它允许您在旧操作系统上使用新的 API。您必须基于旧的 OS5 API 构建您的应用程序。
下载 Blackberry OS5 JDE 并编译您的应用程序,它可能会抛出很多错误,如果没有,那就快乐了。如果是,那么您需要找到第三方库,或者编写自己的库,以便在 OS5 中也创建类似的功能。如果您想将 OS6 API 保留在代码库中,您可以使用预处理器为不同操作系统版本创建二进制文件。
使用 预处理器,您可以使用 OS6 API适用于 OS6 及以上版本,其他 API 适用于 OS5 及以上版本。
So you have an app you created for BlackBerry OS6 and now you want it to work on Blackberry OS5 as well.
You cannot use Blackberry OS6 specific libraries in BlackBerry OS5 . There is nothing like a compatibility package like in Android which will allow you to use new APIs on old operating systems. You will have to build your app based on the old OS5 APIs.
Download the Blackberry OS5 JDE and compile your app, it could throw a lot of errors, if not, happy days. If yes, then you need to find third party libraries, or write your own, to create similar functionality in OS5 as well. If you would like to keep the OS6 APIs in your code base, you can use preprocessors to create the binaries for different OS versions.
Using a preprocessor, you can use OS6 APIs for OS6 onwards, and other APIs for OS5 onwards.
您可以使用 JRE 5 编译您的代码。然后您可以在任何操作系统 5、6、7 中使用此代码。但您不能在 5 中使用 JRE 6。
You can Compile your code with JRE 5.Then you can use this code in any OS 5,6,7.But you can't use JRE 6 in 5.