-
Book Overview & Buying
-
Table Of Contents
Hacking Android
By :
When the Android Operating System boots, a process called Zygote is started and it listens for new app launch requests. Whenever a user clicks on an application, Zygote is used to launch it. Zygote creates a copy of itself using a fork system call when it receives a request to launch a new app. This process of launching a new app is considered more efficient and faster. The newly launched app process loads all the code that is required for it to run. What we read earlier is that the classes.dex file contains all the byte code compatible with Dalvik Virtual Machine. In the latest version of Android devices starting from Android 5.0, the default runtime environment is ART. In this new runtime environment, the classes.dex file will be converted into something called OAT using a tool called dex2oat.
ART has been first introduced in Android 4.4 as an optional runtime environment that could be chosen by the end user from developer...