我不能让我的应用程序通过点击和触摸来工作(在同一项目内)吗?

发布于 2024-09-16 13:36:31 字数 420 浏览 2 评论 0原文

我开发了一个应用程序,基本上可以在所有版本的黑莓设备(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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

吐个泡泡 2024-09-23 13:36:32

我们有多种适用于 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文