May 21, 2021 Android
The Android operating system is a stack of software components that can be roughly divided into five parts and four main layers in the schema diagram.
At the bottom of all layers is Linux - including Linux 3.6 with approximately 115 patches. I t provides basic system functions such as process management, memory management, and device management (e.g. camera, keyboard, monitor). At the same time, the kernel handles all the work Linux excels at, such as networking and a large number of device drivers, thus avoiding the inconvenience of being compatible with a large number of peripheral hardware interfaces.
Above the Linux kernel layer is a collection of libraries, including the open source web browser engine Webkit, the well-known libc library, the SQLite database for warehouse storage and application data sharing, the library for playing, recording audio and video, the SSL library for network security, and so on.
This category includes Java-based libraries developed specifically for Android. E xamples of this category of libraries include application framework libraries, such as user interface building, drawing, and database access. The core Android libraries available to some Android developers are summarized below:
Having seen the Java-based core libraries within the Android runtime, it's time to look at the C/C?-based libraries in the Android software stack.
This is the third part of the architecture, the bottom-up second layer. This section provides key components called Dalvik virtual machines, similar to Java virtual machines, but specifically designed and optimized for Android.
Dalvik virtual machines make it possible to use Linux core features such as memory management and multithreaded in Java. Dalvik virtual machines enable each Android application to run on its own independent virtual machine process.
The Android runtime also provides a core set of libraries for Android app developers to write Android apps in the standard Java language.
The application framework layer provides many advanced services to applications in the form of Java classes. Application developers are allowed to use these services in their apps.
There are all the Android apps at the top. T he application you write will also be installed at this level. These applications include contacts, browsers, games, etc.