黑莓OS版本 [英] Blackberry OS version

查看:154
本文介绍了黑莓OS版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我开发OS 6.0版本的黑莓应用程序,将应用程序与操作系统版本4.5相兼容?如果不是,有没有一些方法来端口的应用程序容易吗?

If I develop Blackberry application for OS version 6.0, will the application be compatible with OS version 4.5? If not, is there some way to port the application easily?

推荐答案

如果您开发针对特定的SDK(如6.0),您的应用程序将只部署到(在这种情况下6.0)使用匹配的操作系统版本的设备。

If you develop against a specific SDK (eg 6.0) your application will only be deployable to devices that use the matching OS version (6.0 in this case).

为了开发出专门针对不同的操作系统版本的应用程序,你必须建立每个版本单独部署的二进制文件。此外,还可以建立最小公分母 - 如果你想支持OS 4.5,打造4.5和您的应用程序将运行(但并不总是优雅地)所有后来的BB OS版本。

In order to develop applications that specifically target different OS versions, you must build separate deployable binaries for each version. Alternatively, you can build for the lowest common denominator -- if you want to support OS 4.5, build for 4.5 and your app will run (though not always gracefully) on all later BB OS versions.

两个开源项目。

Two open source projects that you can use for examples are BBSSH and LogicMail.

无论这些用途preprocessor指令,但无论采取略有不同的方法来管理多个目标OS的;该解决方案是比较合适的是最好的你自己的需求来决定。两者都使用基于Ant构建;我认为这两个目标从OS 4.5至6.0。 (旧版本LogicMail目标回4.1我相信)

Neither of these uses preprocessor directives, however both take slightly different approaches to managing multiple target OS's; which solution is more appropriate is best determined by your own needs. Both use ant-based builds; and I think both target from OS 4.5 to 6.0. (Older versions of LogicMail target back to 4.1 I believe)

构建脚本可以在这里找到:

Build scripts can be found here:

  • BBSSH SVN (build.xml,build-impl.xml, build.properties)
  • LogicMail SVN (build.xml, build.properties)

这两个项目也可以看着像利用在以后的操作系统版本中引入的功能无缝用户处理事情的具体方法 - 无论是早期版本之前提供自定义实现,或禁用该功能是合适的。

Both projects can also be looked to for specific methods of handling things like utilizing features introduced in later OS versions seamlessly to your users -- either providing a custom implementation prior for earlier versions, or disabling the functionality as is appropriate.

最后一个快速的注意:如果你继续不接受有效的答案,你很快就会发现,人们不太愿意回答你。

Finally a quick note: if you continue to not accept valid answers, you'll soon find that people are less willing to answer you.

这篇关于黑莓OS版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆