Android and J2ME

我的未来我决定 提交于 2019-11-30 22:02:34

Android has nothing to do with J2ME beyond using the core Java language. In fact, the standard library is more reminiscent of Java SE.

Like Yann mentioned , j2me is not Android and vice versa, however they use the same language with different VMS. Google basically created their own JVM called DAVLIk which got Sun to sue Google because google used their technology without their approval.

There are however some J2ME to Android wrappers. LWUIT currently has such a wrapper.

in both same language will used which is JAVA.

but j2me is made for small devices which is run on kJVM .,

Android is basically made for smart devices.,

using j2me we can developed Third party app .,but Android is the native app which is fully supported by Android OS.

Also you may want to look at MicroEmulator http://microemu.blogspot.ru/2009/08/converting-javame-applications-to.html, it provides J2ME CLDC/MIDP wrappers for Java SE and Android, so basically you can write a midlet and pack it with MicroEmu to run on Android. But it will limit your app to J2ME UI which is quite weak, no comparison with Android. CodenameOne (former LWUIT mentioned in other answer) is a best choice for a cross-platform solution if you need to cover J2ME, Blackberry, Android, iOS and Windows Phone. But if you do not need to support J2ME and Blackberry, there are other solutions too (Xamarin, Marmelade, PhoneGap)

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