Monday 2 September 2013

Delvik Virtual Machine ( DVM )

Delvik Virtual Machine ( DVM )
Android programs are compiled into .dex (Dalvik Executable) files, which are in turn zipped into a single .apk file on the device. .dex files can be created by automatically translating compiled applications written in the Java programming language.
The Dalvik Debug Monitor Service (DDMS) is a key debugging utility that is integrated into the Eclipse IDE, the favoured development environment for Android apps.
Why ‘Dalvik’? Bornstein named it after the fishing village of Dalvík in Eyjafjörður, Iceland, according to Wikipedia, whether as somewhere his ancestors lived or just a favoured place…
Read a post by Dan Bornstein on the Dalvik JIT » (source of the pic at the top)
android-system-architecture.jpgYou can view a larger version of the Android Architecture Diagram that is thumbnailed right.
If you want a lot more detailed low-level information, check out the Dalvik bytecode, Dex file format, and instruction formats - see a complete spec for the format in the Dalvik git repository or on the Dalvik Docs Mirror.
Note that underlying details can change, so you should always check these source documents for definitive data.