Linked by Thom Holwerda on Fri 14th Sep 2012 22:30 UTC
Thread beginning with comment 535648
To view parent comment, click here.
To read all comments associated with this story, please click here.
To view parent comment, click here.
To read all comments associated with this story, please click here.
News
Linked by Thom Holwerda on 05/19/13 23:15 UTC
Linked by Thom Holwerda on 05/19/13 23:11 UTC, submitted by Drumhellar
Linked by Thom Holwerda on 05/18/13 21:06 UTC
Linked by Thom Holwerda on 05/18/13 7:37 UTC
Linked by fran on 05/18/13 1:38 UTC
Linked by Thom Holwerda on 05/17/13 23:35 UTC, submitted by kragil
Linked by MOS6510 on 05/17/13 22:22 UTC
Linked by Thom Holwerda on 05/17/13 22:15 UTC, submitted by Tom
Linked by Thom Holwerda on 05/16/13 21:41 UTC
Linked by Thom Holwerda on 05/16/13 17:04 UTC
More News »
Sponsored Links



Member since:
2007-02-17
Whilst I agree with the main point of your post, I do question this assumption.
Android apps are written in "Dalvik", which is modelled after Java (it is not derived from Java, since Dalvik has no Java code). As I understood it, a Java app, and hence a Dalvik app, contains bytecode and not compiled binary.
http://en.wikipedia.org/wiki/Java_bytecode
http://en.wikipedia.org/wiki/Dalvik_%28software%29
"Dalvik is the process virtual machine (VM) in Google's Android operating system. It is the software that runs the apps on Android devices. Dalvik is thus an integral part of Android, which is typically used on mobile devices such as mobile phones and tablet computers as well as more recently on embedded devices such as smart TVs and media streamers. Programs are commonly written in Java and compiled to bytecode. They are then converted from Java Virtual Machine-compatible .class files to Dalvik-compatible .dex (Dalvik Executable) files before installation on a device."
Hence I would assume that Dalvik-compatible .dex (Dalvik Executable) files are architecture independent.
http://source.android.com/tech/dalvik/dalvik-bytecode.html
An x86 Android device could therefore execute the exact same Dalvik executable .dex files as an ARM device, without any re-compilation required.
Edited 2012-09-19 02:30 UTC