Dalvik Virtual MachineAs we know the modern JVM is high performance and provides excellent memory management. But it need to be optimized for low-powered handheld devices. The Dalvik Virtual Machine is optimized for mobile devices. It optimizes the JVM for memory, performance, and battery life.Dalvik is the name of a town in Iceland. The Dalvik VM was written by Dan Bornstein. The Dex compiler converts the class files into the .dex files that run on the Dalvik VM. Let's see the compiling and packaging process from the source 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 a single .dex file. It is a platform-specific tool. The aapt (Android Assets Packaging Tool) handles the packaging process. |
Dalvik Virtual Machine
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment