January 2018
Beginner to intermediate
402 pages
10h 6m
English
All the applications that you install on the Android device are written in the Java programming language. When a Java program is compiled, we get bytecode. A virtual machine is an application that acts as an operating system, that is, it is possible to run a Windows OS on a Mac or vice versa using a virtual machine. JVM is one such virtual machine that can execute the previously mentioned bytecode. But, Android versions before use something called Dalvik virtual machine (DVM) to run their applications.
DVM runs Dalvik bytecode, which is Java bytecode converted by the Dex compiler. Thus, the .class files are converted to dex files using the dx tool. Dalvik bytecode, when compared with Java bytecode, is more suitable ...