0
2.7kviews
Explain Dalvil Virtual Machine.

Subject: Mobile Communication and Computing

Topic: Introduction to Android

Difficulty: Low

1 Answer
0
39views
  1. The modern JVM is high performance and provides excellent memory management. But it needs to be optimized for low-powered handheld devices as well.
  2. 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.
  3. 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 compiling and packaging process from the source file: enter image description here

  4. The javac tool compiles the java source file into the class file.

  5. The dx tool takes all the class files of your application and generates a single .dex file. It is a platform-specific tool.

  6. The Android Assets Packaging Tool (aapt) handles the packaging process.

Please log in to add an answer.