• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Why Android language instead of Java ME?

 
Ranch Hand
Posts: 701
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

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

 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 94
Eclipse IDE C++ Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 2108
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I wonder who Java is using as a lawyer. Erlang perhaps? Or Pascal?
 
Jesus Angeles
Ranch Hand
Posts: 2108
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Oracle is relying on the Benjamins Law Firm.
 
Bear Bibeault
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
 
Saloon Keeper
Posts: 27764
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic