how to convert j2me running lwuit to android?

醉酒当歌 提交于 2020-01-11 10:38:48

问题


How can i convert a J2ME application which is using lwuit library to an android apk ?

I tried to convert using mircoemulator but when I start the application it shows error and exits.


回答1:


Read this article, LWUIT for Android. Here clearly telling about How to do LWUIT with Android. Follow the stpes carefully and change the your MIDlet code. Just checkout the LWUIT-Incubator repository and use this for android development with LWUIT. Also read the README_Android.txt on this repository.




回答2:


There's no way to make a direct conversion. Strictly speaking, you can make a port, adapting the code, or use some emulator or wrapper to run the CLDC/MIPD classes.

The guys in Opera also used MicroEmulator for OperaMini.



来源:https://stackoverflow.com/questions/7401567/how-to-convert-j2me-running-lwuit-to-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!