There are many compatibility problems betweens JME and JSE.
classes in MIDP has nothing in common with AWT or SWING.
Event CDC only
"provides AWT support comparable to JDK
1.1". Swing classes for example are defined in jsr209 which is an "Optional Package for the Java Platform, Micro Edition, version 1.0".
Even RMI is optional for CDC!
The Java idioms for MIDP and CDC are pre
Java 5 ones, so you don't have any of the cool stuff introduced with Java 5: no
class template, no annotation, etc.
So program for JME is a pain in the
ass: you have to select which version of JME you will use (Java for Mobile
Devices - MIDP or Java for Embedded Devices - CDC, etc. Then you have to choose
if you just use the mandatory packages or also some optional ones. Choosing tu
use optional packages will increase JSE compatibility, but decrease the amont of
device able to run you application... Many classes and patterns you used to use
with JSE 5 or JSE 6 are not usable :( , nor is you cool java library you have
develop for the server part of your application.
On the other hand, using
Android you will have a fair good ascending compatibility. An app written for
Eclair will run without modification or recompilation on all Eclair, Froyo,
Gingerbread or ICS devices. The Java API used in Android are recent (Java 5 or
Java 6 - it depends on the Android version). The subset of API ported is much
more complete than in JME and the coll one are not optional ! So if you use
Android instead JME, you will have better Java compatibility, easier
development, bigger market, better phones, bigger community and better support!
[ Reply to This | Parent | # ]