Ho cercato per un lungo tempo un buon emulatore JavaME per Android, e infine ne ho trovato uno. Questo qui è quello che vi serve:
Senza dubbio la migliore che ci sia per Android.
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
opere, ma con il supporto molto limitato per i giochi –