Dalvik is the process virtual machine(VM) in Google’s
Android OS system, which specifically, executes applications written for
Android. This makes Dalvik an integral part of the Android software stack,
which is typically used on mobile devices such as mobile phones and tablet
computers, as well as more recently on devices such as smart TV’s and Wearables.
As we know the modern JVM is high performance and
provides excellent memory management. But it needs to be optimized for
low-powered handheld devices as well.
The Dalvik Virtual Machine (DVM) is an android
virtual machine optimized for mobile devices. It optimizes the virtual machine
for memory, battery life and performance.
Dalvik is a name of a town in Iceland. The Dalvik VM
was written by Dan Bornstein.
The Dex compiler converts the class files into the
.dex file that run on the Dalvik VM. Multiple class files are converted into
one dex file.
- The javac tool compiles the java source file into the class file.
- The dx tool takes all the class files of your application and generates .dex file. It is a platform- specific tool.
- The Android Assets Packaging Tool (aapt) handles the packaging process.
0 comments:
Post a Comment