0% found this document useful (0 votes)
37 views

Title: Dalvik Virtual Machine - DVM

The document discusses the Dalvik Virtual Machine (DVM), which is an Android virtual machine optimized for mobile devices. It optimizes the virtual machine for memory, battery life, and performance. The DVM was written by Dan Bornstein. It converts Java class files into a .dex file format that can run on the DVM. The compiling and packaging process involves using javac to compile Java source files into class files, dx to convert the class files into a single .dex file, and aapt to handle the packaging.

Uploaded by

Kellie Lewis
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
37 views

Title: Dalvik Virtual Machine - DVM

The document discusses the Dalvik Virtual Machine (DVM), which is an Android virtual machine optimized for mobile devices. It optimizes the virtual machine for memory, battery life, and performance. The DVM was written by Dan Bornstein. It converts Java class files into a .dex file format that can run on the DVM. The compiling and packaging process involves using javac to compile Java source files into class files, dx to convert the class files into a single .dex file, and aapt to handle the packaging.

Uploaded by

Kellie Lewis
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

TITLE

HEADING
To take advantage of this templates design, use the Styles gallery on the Home tab.
You can format your headings by using heading styles, or highlight important text
using other styles, like Emphasis and Intense Quote. These styles come in formatted
to look great and work together to help communicate your ideas.
Go ahead and get started.

DALVIK VIRTUAL MACHINE | DVM


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.
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 Android Assets Packaging Tool (aapt) handles the packaging process.

You might also like