This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Android and the fly likes Why Android language instead of Java ME? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Why Android language instead of Java ME?" Watch "Why Android language instead of Java ME?" New topic
Author

Why Android language instead of Java ME?

Rogerio Kioshi
Ranch Hand

Joined: Apr 12, 2005
Posts: 689
Hi,

Why do people talk so much nowadays about Android and almost nothing about Java ME?


SCEA 5 (part 1), SCBCD, SCWCD, SCJP, CLP, CLS
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41155
    
  45
Because that's where the innovation is, and what the new "exciting" smartphones have. JME has stagnated for years, with BlackBerry being the only manufacturer left that notably improves its JME devices. Now Symbian has been sunset as well, sharply reducing the number of JME devices that will be shipped in the future. IMO, JME has not much of a future, certainly none that a commercial developer would get excited about.


Ping & DNS - my free Android networking tools app
Robert Heath
Ranch Hand

Joined: Aug 11, 2010
Posts: 94

Java was created to write platform independent applications. With all of these new phone platforms, platform independence would seem to be important to the developer. Is there a JVM for the Android?
Michael Hari
Greenhorn

Joined: Apr 07, 2011
Posts: 5
Yep, its called Dalvik. So when you build your application (or .apk) what's actually happening is your Java code gets transformed to Java class files (Java's bytecode) and then another utility called dx in the Android SDK will transform the Java class files to .dex files which are packed into a .apk (*.class -> .jar, *.dex -> .apk). And those .dex files with Google's own bytecode run on the Dalvik VM.

http://developer.android.com/guide/basics/what-is-android.html
Jesus Angeles
Ranch Hand

Joined: Feb 26, 2005
Posts: 2049
Michael Hari wrote:Yep, its called Dalvik. So when you build your application (or .apk) what's actually happening is your Java code gets transformed to Java class files (Java's bytecode) and then another utility called dx in the Android SDK will transform the Java class files to .dex files which are packed into a .apk (*.class -> .jar, *.dex -> .apk). And those .dex files with Google's own bytecode run on the Dalvik VM.

http://developer.android.com/guide/basics/what-is-android.html


...and thats why Java is suing Google.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60810
    
  65

I wonder who Java is using as a lawyer. Erlang perhaps? Or Pascal?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Jesus Angeles
Ranch Hand

Joined: Feb 26, 2005
Posts: 2049
Oracle is relying on the Benjamins Law Firm.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60810
    
  65

Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15962
    
  19

Going back to the original question, JME was designed to allow Java to run in limited-resource environments. These days, "limited" tends to mean things like 2GB RAM and a 500Mhz CPU, and I've got production servers that don't have that much power. JME also was broken into several different profiles, the better to support different levels of hardware limitations, but in the process doing some serious damage to the "Write Once/Run Anywhere" concept - far more than even the confusing array of confections that Android currently offers.

Another advantage - to me, anyway - of Android is that it's designed to make the apps interact to form a unified whole so that for, example, the "search" button can look in a multitude of places such as address books, application databases, and other such repositories without compromising application security or requiring detailed internal knowledge of all the apps and/or their datastores. This was one of the things I really likes about the Palm and hated losing when I got a WinCE phone.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Why Android language instead of Java ME?
 
Similar Threads
Generating a video from images with animation
Android Development - Android vs. Java ME
Will Android gets popular?
Retrieve values for a complicate XML file (Java)
Hello Android questions