Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

How is android using DVM?

user-image
Question ajoutée par Madhusudhan Vaddi
Date de publication: 2013/09/23
Daanish Rumani
par 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