我不能让我的应用程序通过点击和触摸来工作(在同一项目内)吗?
我开发了一个应用程序,基本上可以在所有版本的黑莓设备(4.5 版及更高版本)上运行。但是,我注意到 navigationClick() 不会随着触摸黑莓而消耗。我知道我必须使用 touchEvent 方法,但是,我的 eclipse 项目设置为使用 jde 4.5。那么有什么方法可以将触摸事件所需的类包含在我的 Eclipse 项目中吗?我们的大多数客户仍在使用 4.5 或 4.6 的手机。因此设置项目以使用 jde 4.7 作为基础是不可能的。
我知道 Eclipse 不喜欢打包一个项目,其中包含为同一应用程序配置的 2 个不同的 jde 版本(因为存在争用)。
其他人如何推出与所有版本(包括触摸版)兼容的应用程序?或者你们是否推出同一应用程序的不同版本(一个支持点击,另一个支持触摸)?
任何帮助将不胜感激。
预先非常感谢您。
交流电
i have developed an application that will basically run on all versions of the blackberry unit (ver 4.5 and above). however, i have noticed that navigationClick() is not consumed with a touch blackberry. i know that i have to use touchEvent method instead, however, my eclipse project is set up to use jde 4.5. so is there any way of just including the classes necessary for touch events inside my eclipse project? most of our customers are still using phones with 4.5 or 4.6. so setting up the project to use jde 4.7 as the foundation is out of the question.
i know that eclipse doesn't like packaging a project with 2 different jde versions configured for the same application (because of contentions).
how does everyone else roll out an application that is compatible with ALL versions (including those with the touch)? or do you guys roll out different versions of the same app (one to support click and the other to support touch)?
any help would greatly be appreciated.
thank you so much in advance.
ac
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我们有多种适用于 BlackBerry 的应用程序,与触摸屏 RIM 设备兼容的应用程序有两个版本:标准版,支持 RIM OS 4.1+ 并基于该平台构建;触摸屏版,支持 Storm、Storm2 、和 Torch 设备,并采用 4.7 平台构建。
代码库是相同的,触摸代码是用预处理器语句,但据我了解,没有办法在4.7之前的平台上构建并访问4.7中引入的方法。
We have several applications for the BlackBerry, and the ones that are compatible with touch-screen RIM devices have two versions: the Standard edition, which supports RIM OS 4.1+ and is built on that platform, and the TouchScreen edition which supports Storm, Storm2, and Torch devices, and is built with the 4.7 platform.
The code base is the same and the touch code is separated with preprocessor statements, but as far as I understand it, there is no way to build on a platform before 4.7 and get access to the methods introduced in 4.7.