7

Android Startup: Dalvik and Zygote

Chapter 6 reviewed the process of booting the Linux system. This chapter investigates the startup of Android’s subsystems.

The processes are quite analogous. Figure 2.1 depicted an Android system as a layer cake; each new layer depending on services provided by the underlying layer. The Linux kernel provides a “container,” an environment that abstracts hardware into standard resources and facilities in which programs run.

Similarly, Android is a container. It provides abstract services to applications that run “inside” it. Thinking of the Linux kernel as a container is a useful exercise because Android is a container in exactly the sense usually reserved, for instance, for web servers. Android applications ...

Get Inside the Android OS: Building, Customizing, Managing and Operating Android System Services now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.