且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

将Java SE游戏移植到Java ME

更新时间:2023-12-04 11:01:28

我不确定这个建议是否特别好。

I'm not sure the advice is especially good.

UI类不同,所以那部分必须重做。用户界面将是工作的重要部分,为什么要两次呢?为什么确实想要做J2ME时学习SE UI API?

The UI classes are different, so that part would have to be redone. The UI would be a significant part of the work, so why do it twice? Why learn the SE UI APIs if you really want to do J2ME?

有一个关于J2SE和J2ME之间的差异,就是昨天的问题 - 包含有用的链接。

There was an SO question just yesterday on the differences between J2SE and J2ME - that contains useful links for you.

如果你的目标是非常专门针对黑莓,那么为什么不设置您的开发环境,将Hello World应用程序部署到BlackBerry模拟器,作为您的第一步?您可能希望研究RIM自己的API以及可移植J2ME类,因为它们可以让您更好地与设备硬件集成(点击轮等)。

If your aim is to very specifically target BlackBerry then why not set up your development environment to deploy a 'Hello World' app to a BlackBerry simulator as your first step? You might want to investigate RIMs own APIs as well as 'portable' J2ME classes as they will give you better integration with the device hardware (clickwheel and so on).