CDC 手指友好型

发布于 2024-08-11 04:50:23 字数 397 浏览 1 评论 0原文

我一直在使用 j9 作为虚拟机进行 Java 移动项目。到目前为止,该项目已开发为使用 AWT 组件的手写笔交互。 我们想要创建一个更加手指友好的应用程序的新版本,内部逻辑工作正常,所以我们想保留它,它只是我们想要更新的界面。 据我所知,替代方案是 LWUIT 库,但它仅适用于 CLDC 配置或 JavaTV,而 Java TV 上的实现显然不适用于 J9。

那么,有什么建议吗?有人用 j9 做过一些手指友好的事情吗?

我正在考虑将按钮开发为图像,并与布局进行斗争,使其看起来不错,换句话说,从 AWT 创建手指友好的库,但我仍然对这种方法持怀疑态度,因为有些事情我不知道是否可能,例如手指拖放以在页面之间移动。

不管怎样,任何关于我应该如何应对这一挑战的想法都将非常感激!

谢谢,

古斯塔沃。

I've been working in a Java mobile project using j9 as a virtual machine. So far the project has been developed for an stylus interaction using AWT components.
We want to create a new version of the application more finger-friendly the internal logic is working OK so we wanna keep it, it is just the interface that we want to update.
From what I´ve read the alternative is the LWUIT library, however it is just for CLDC configuration or for JavaTV, and the implementation on Java TV apparently doesn't work on J9.

So, any suggestion? anyone have done something finger-friendly using j9?

I'm thinking in develop buttons as images and give the fight against the layouts to make it look good, In other words, create the finger-friendly library from AWT, but I still having doubts about this approach, because there are some things that i don't know if possible, like the finger drag&drop to move between pages.

Anyway, any Ideas of how should I approach this challenge will be very appreciated!

Thanks,

Gustavo.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

柏拉图鍀咏恒 2024-08-18 04:50:23

就移动 Windows 上的移动 Java 而言,J9 是最佳选择。我已经在几个项目中使用过它,它非常符合要求。我在坚固的手持设备上使用它并开发了一些用于测量贝类的应用程序。该界面适合左手和右手用户,旨在实现手写笔和指尖交互。

我认为您正在寻找的工具包是 SWT 和 JFace。 JFace 使您能够灵活地创建真正流畅的 UI 元素,而无需编写大量代码。 GUI 设计器和实际设备显示之间会有一些细微的差异 - 但没什么可怕的。在设备上安装和配置 jar 非常简单,如果您将 rapitools 和 cab 向导集成到您的 ant 构建中,您可以想出一些灵活的部署和安装程序解决方案。

获取这本书并开始使用。

As far as mobile java on mobile windows, J9 is the way to go. I've used it for a few projects and it fit the bill perfectly. I used it on a rugged hand-held device and developed a few applications for measuring shellfish. The interface was geared for both left and right handed people and aimed at the stylus as well fingertip interaction.

I think the toolkits you're looking for are SWT and JFace. JFace is what gives you the flexibility to create really slick UI elements without a lot of code. There will be some small differences between your GUI designer and the actual device display - but nothing horrifying. Installing and configuring the jars on the device is pretty simple, and if you integrate rapitools and the cab wizard into your ant build you can come up with some slick deployment and installer solutions.

Grab this book and get started.

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