Skip to Content
Learning Embedded Android N Programming
book

Learning Embedded Android N Programming

by Ivan Morgillo, Stefano Viola
July 2016
Beginner to intermediate
282 pages
6h 12m
English
Packt Publishing
Content preview from Learning Embedded Android N Programming

From Dalvik to ART runtime

The original Android runtime implementation was Dalvik. Dalvik was a virtual machine, specifically created for Android, due to the necessity to target low-memory devices. It was an integral part of the system until Android KitKat.

As we already said, Android applications are mostly written in Java. When Dalvik was the in-use runtime system, the Java code was compiled into bytecode. This bytecode was then translated to Dalvik bytecode and finally stored into a .dex (Dalvik Executable). After this procedure, Dalvik was able to run the Android app.

Although Dalvik had been designed for slow devices, with low memory, its performance has never been astonishing, not even when the Just-In-Time compilation was introduced, back ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Android High Performance Programming

Android High Performance Programming

Enrique López Mañas, Diego Grancini
Embedded Android

Embedded Android

Karim Yaghmour

Publisher Resources

ISBN: 9781785282881Supplemental Content