Android Open Handset Developers Community

 
It is currently Tue Jan 06, 2009 4:19 am



All times are UTC


 Topics   Replies   Views   Last post 
No new posts How Android is related to JME ?

by Zoltan on Thu Jan 31, 2008 11:36 am in J2ME/J2SE platforms

3

297

Thu Jan 31, 2008 11:36 am

Zoltan




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: How Android is related to JME ?
PostPosted: Mon Dec 31, 2007 4:35 pm 
Offline

Joined: Thu Dec 27, 2007 2:51 pm
Posts: 18
Hi all,
I am a little bit confused about relations between Android and the Java Micro Edition (JME) platforms... :?: :?:

Differences ? Similarities ?


Top
 Profile  
 
 Post subject: Re: How Android is related to JME ?
PostPosted: Mon Dec 31, 2007 4:41 pm 
Offline

Joined: Thu Dec 27, 2007 2:12 pm
Posts: 29
Hi Verix,
waiting for a better answer form somebody more technical skilled than me, I can say to you that Google has developed its own java virtual machine named Dalvik for Android, instead of using the standards-based Java Micro Edition (JME) from SUN as an engine to run java applications on new Android mobile phones.

At the moment, I think that Android offers quite the same APIs of the Standard Edition (JSE) than the Micro editoon ones, and this is a clear advantage for developers... :P


Top
 Profile  
 
 Post subject: Re: How Android is related to JME ?
PostPosted: Sat Jan 26, 2008 5:15 pm 
Offline

Joined: Thu Dec 27, 2007 6:09 pm
Posts: 49
Android supports a large set of Java SE APIs; apart from this, let me highlight that Dalvik VM cannot be considered as a Java VM.

Dalvik VM can run Android bytecode but cannot run Java bytecode. When you compile Java code within the Android SDK, the dx tool coverts java bytecode to a bytecode which can be interpreted by the Dalvik VM.

As far as I know, Google plans to open the VM code in future SDKs.

best regards,
Barban


Top
 Profile  
 
 Post subject: Re: How Android is related to Java ?
PostPosted: Thu Jan 31, 2008 11:36 am 
Offline

Joined: Thu Dec 27, 2007 2:12 pm
Posts: 29
So, to sum up, Android applications are written in Java and this makes possible to rely on a very well known programming language as well as on a lot of free Java IDEs (like Eclipse). Android SDK is based on Apache Harmony's implementation of Java SE class library but it compiles the source java code into Dalvik bytecode (.dex) and not Java bytecode (.class).

The Dalvik VM is supposed to be optimized to improve performance of applications for the Open Handset Alliance phones based on the Linux kernel.

Nevertheless, in this way, Google can be free from the terms imposed by Sun for the future of the language and the virtual machine... :oops:


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

Topic Tags

Android, API, applications, bytecode, code, Dalvik, developers, Google, java, JME, mobile, phones, programming, SDK, Sun, virtual, VM


All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
phpBB SEO

This site is not affiliated with nor endorsed by the Open Handset Alliance.
All trademarks and logos used in this site are of properties of their respective owners.