Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

How is android using DVM?

user-image
Question added by Madhusudhan Vaddi
Date Posted: 2013/09/23
Daanish Rumani
by Daanish Rumani , Product Manager , Publicis Sapient

Recall that the Java Runtime is also called the Java Virtual Machine (JVM). This is because java code cannot be run directly on the processor. The JVM running natively on the processor executes the Java Byte Code. So it fits in the definition of an virtual machine.

 

DVM is the anroid implementation of the JVM. It is not100% compliant with the Java Standard but the concept is the same. Java based Android apps are compiled into byte code which is executed by the DVM running natively on the processor.

 

Having said that, Android also provides the Native Development Kit (NDK) where you can write code in C++ running directly on the processor bypassing the DVM.

More Questions Like This