To give you a better understanding of how the Android system works, let's look at its system architecture first. Android can be roughly divided into four-tier architecture, five-block areas.
1. Linux Kernel layer
The Android system is based on the Linux 2.6 kernel, which provides the underlying drivers for various hardware on Android devices, such as display drivers, audio drivers, camera drivers, bluetooth drivers, Wi-Fi drivers, power management, and more.
2. System Runtime Layer
This layer provides key feature support for Android systems through a number of C + + libraries. such as the SQLite library provides support for the database, the Opengl|es library provides support for 3D drawings, and the Webkit Library provides support for the browser kernel.
Also on this tier is the Android runtime Library, which provides some core libraries that allow developers to write Android apps in the Java language. In addition, the Android Runtime library contains the Dalvik virtual machine, which enables each Android application to run in a separate process and has its own Dalvik virtual machine instance. Compared to the Java Virtual machine, Dalvik is specifically designed for mobile devices, which are optimized for mobile memory and CPU performance.
3. Application Framework Layer
This layer primarily provides some of the core applications that can be used to build applications using these APIs, and developers can build their own applications by using these APIs. api,android
4. Application Layer
All applications installed on the phone are on this level, such as the system's own contacts, SMS programs, or games that you download from Google Play and, of course, the programs you develop yourself.
Android System Architecture