Saturday, March 18, 2017

DVM Anatomy

Dalvik Virtual Machine (DVM) Anatomy

By John Horton; Helder Vasconcelos; Raul Portales:
"After we write a program in Java for Android, we click on a button to change our code into another form that is understood by Android. This other form is called Dalvik EXecutable (DEX) code, and the transformation process is called compiling. The part of the Android system that executes (runs) our compiled DEX code is called the Dalvik Virtual Machine (DVM). The DVM itself is a piece of software written in another language that runs on a specially adapted version of the Linux operating system.


  locationManager.getLastKnownLocation(
    LocationManager.GPS_PROVIDER);

this single line of code searches for the available satellites and then communicates with them in orbit around the Earth while retrieving your precise latitude and longitude on the planet, it is easy to begin to glimpse the power and depth of the Android API in conjunction with the DVM. Even if that code does look a little challenging at the moment, imagine talking to a satellite in some other way!" [See Ref. 1]

[continued ...]

Copyright ©2017, Software Developer, All rights reserved.
See Contents

No comments:

Post a Comment