[PJUG Javamail] Android VM

Elias Volanakis elias at eclipsesource.com
Thu Feb 18 16:42:16 EST 2010


You can browse the available packages here:
http://developer.android.com/reference/packages.html

Obviously swing and awt is not available. If you have something that
is algorithmic in nature it could be straightforward. I ported an
mp3-tag-reader to android this way (pretty much java.lang, java.io,
java.collections only).

If you have a whole app you will have to rethink the UI and the flows.
First a non-phone app will likely assume a large UI and will not be
optimized for touch. Also Android apps have a lifecycle that is
different from Java apps. They consist of several Activities that have
a strict lifecycle (think: App as a state machine, where each state is
an Activity. activities reminded me a bit of applets). This is a good
explanation:

http://developer.android.com/reference/android/app/Activity.html

Hope this helps?

Elias.

On Thu, Feb 18, 2010 at 9:45 AM, Richard Johnson
<Richard.Johnson at chrome.com> wrote:
> Me:
>> Anyone know if Android's JVM requires JME, JSE, or if they
>> forked it and require a special version to build/run
>> applications with?
>
> Kent:
>> It uses the Dalvik VM, or soon, Dalvik Turbo.
>> http://dev.android.com/index.html
>
> Christopher:
>> I think they use Dalvik instead:
>> http://en.wikipedia.org/wiki/Dalvik_virtual_machine
>
> Thanks guys.  :-)  Anyone have any anecdotes about porting a
> not-already-for-phone application to it?
> --
> Richard
> _______________________________________________
> Web Site - http://www.pjug.org/
> Javamail mailing list
> Javamail at pjug.org
> http://www.pjug.org/mailman/listinfo/javamail
>



-- 
Elias Volanakis | Technical Lead | http://eclipsesource.com
elias at eclipsesource.com | +1 503 929 5537 | @evolanakis


More information about the Javamail mailing list