Running J2me apps on Android phones

独自空忆成欢 提交于 2019-11-29 06:35:48

Using this site http://www.netmite.com/android/srv/2.0/getapk.php you can convert your J2ME application in to Android Application. You need to just supply your .Jad & .Jar file in it and it will generate Android's executable file .apk for you.

However in it doesn't able to convert all the feature of Java ME to Android, but basics can be easily converted.

You can try phoneME, netmite j2me app runner, jblend, jbed like jeme emulators in android. For now, phoneME is the best. you can get various version of phoneME here http://davy.preuveneers.be/phoneme You also need OI file manager to select files in phoneME.

A complete guide can be found here http://w3epic.com/run-java-apps-j2me-on-android-devices-guide/ for rest of other emulators (if you want to try).

@dennis I got it, thanks.

MicroEmu open source project hasn't been mentioned yet, and here it goes: https://code.google.com/p/microemu/

mr_lou

I searched for a good JavaME emulator for Android for a long time, and finally found one. This here is what you need:

http://davy.preuveneers.be/phoneme/

No doubt the best there is for Android.

Added 15th January 2016: Reply from the author of phoneME, Davy Preuveneers, in regards to the Android 5.0+ issue commented by Álvaro Gutiérrez:

Hi,

I am testing on a Samsung Galaxy S4 running Android 5.0.1, and the "phoneME Advanced - Foundation Profile + MIDP FullHD Resolution" build seems to run just fine on this device.

Also, following this thread Position Independent Executables and Android Lollipop, I ran:

$ readelf -l libcvm.so | grep -i "file type"

and it reports:

Elf file type is DYN (Shared object file)

So according to the website this is OK.

However, for the CDC and Foundation profiles (console like applications), there is indeed an issue where you get this error:

"Error: only position independent executables (PIE) are supported"

However, for those 2 profile I call a native executables and redirect the native stdout/stderr streams to Android, whereas for the MIDP dual stack I load a library and create a complicated wrapper to get things going.

I can recompile with -fPIE and -pie options but will then end up with binaries that are no longer backwards compatible with devices running Android 4.0 and below. That is why I added some additional builds to my website for Android 5+ devices:

http://davy.preuveneers.be/phoneme/?q=node/10

Best regards, Davy

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