将 Android 移植到新的 LWUIT 1.5
我想知道为什么 Android 构建不是资源编辑器自动生成的构建的一部分?
真正的问题:有人可以告诉我如何使用 netbeans 6.9.1 将 LWUIT 应用程序移植到 Android 吗?
我已阅读 Thorsten 的页面,但他根本没有对此进行详细说明。 我还检查了有关此主题的其他问题,但它们没有解决我的问题。
提前致谢!
I wonder why the Android build was not part of the auto-generated builds from the resource editor?
REAL QUESTION: Can someone please show me how to port a LWUIT app to Android using netbeans 6.9.1?
I have read Thorsten's page and he didnt elaborate on that at all.
I have also checked the other questions on this topic and they do not address my issue.
Thanks in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
将 Android 与 Netbeans 集成。 将 Android 项目创建到 API 级别 2.1 或高于 2.1 的 Netbeans 中。查看最新的 LWUIT 和 LWUIT 孵化器。从 LWUIT 存储库复制所有类并粘贴到您的项目中。然后删除项目中的 com.sun.lwuit.impl.ImplementationFactory 类。还要从 LWUIT-Incubator 存储库复制源代码并粘贴到您的项目中。您的主类应该扩展 com.sun.lwuit.impl.android.LWUITActivity 类。
Integrate Android with Netbeans. Create the Android project into Netbeans with API level 2.1 or more than 2.1. Checkout the latest LWUIT and LWUIT-Incubator. Copy the all classes from LWUIT repository and paste into your project. And then remove the
com.sun.lwuit.impl.ImplementationFactory
class in your project. Also copy the source code from LWUIT-Incubator repository and paste into your project. Your main class should be extendcom.sun.lwuit.impl.android.LWUITActivity
class.