[quote=flu]
And technically, Android isn’t Java either. It uses the Java language to compile into a bytecode for a dalvik vm, but not a jdk and clearly the byte code isn’t compatible. (In hindsight that was the smartest thing to have done with Oracle now owning sun and butching the entire java space)…
[/quote]
You need to differentiate between android applications (java) and the android OS (linux). For the most part, android apps are java. Yes, there are some minor differences between the android (dalvik) VM and a standard VM but they are mostly minor–with the exception of the entire android API. This is entirely different from J2ME which was not at all compatible with a standard java VM.
For the most part, we’ve been able to take libraries (jars) that we have built to run on the server (e.g. communication protocols, data models) and drop them directly on the android (including their external dependencies) and they run fine. We’d never have been able to do this on J2ME.
I’ve written applications for both–it’s a whole different animal.