One: Android history
In 2012, Android phones sold 4.815 units worldwide, accounting for 68.8% of the global smartphone market share. In 2013, this figure rose to 781.2 million, 78.9%, which is quite a staggering number.
Speaking of the history of Android, first of all we need to first say the origin of the name of the Android system. Android This time first appeared in French writer Liriadan in 1886, the Mad Science fiction "Future Eve", the author of the appearance of human-like machine named Android, which is the origin of the android villain name.
Knowing the origins of the Android name, let's look at the origins of the Android system. The Android system was not developed by Google at first, and the original company name of Android was called Android. Andy Rubin founded two mobile OS companies: Danger and Android. Danger sold $500 million to Microsoft , and this year became kin,android $40 million for Google. Google acquired Android in 2005, the only 22-month-old high-tech company. Android is also starting to take over by Google, the head of Android and Android CEO Andy Rubin to become vice president of engineering at Google, continuing to work on the Android project.
II: Android's system architecture
The Android system has a total of 4 layers from the bottom up and each layer encapsulates the underlying implementation and exposes the calling interface to the previous layer.
(1) Linux kernel (Linux Kernel)
Android runs on Linux kernel 2.6, but replaces the Linux-bound part of the GNU protocol so that Android programs can be used for commercial purposes.
The Linux kernel is the abstraction layer between the hardware and software layers.
(2) Middleware
Middleware includes two parts: Core library and runtime (libraries & Android Runtime)
The core library includes the Surfacemanager Display System Management Library, which is responsible for displaying 2D or 3D content to the screen; Media Framework Library, which is responsible for supporting images, supporting the recording and playback of multiple video and audio; SQlite database, A powerful lightweight embedded relational database, WebKit browser engine, etc.
Dalvik virtual machines: Unlike Java virtual machines, each Android application runs in its own process and has a Dalvik virtual machine of its own, which allows the system to be optimized at runtime and significantly reduces the impact between programs. Instead of running Java bytecode, the Dalvik virtual machine runs its own bytecode.
(3) Application framework (Application framework)
A rich and extensible view (views) that can be used to build applications, including lists (lists), grids (grids), TextBox (text boxes), buttons (buttons), and web browsers that can be embedded.
Content Providers enables an application to access data from another application, such as a contact database, or to share its own data.
The Resource Manager (Resource Manager) provides access to non-code resources, such as local strings, graphics, and layout files (layoutfiles).
The Notification Manager (Notification Manager) enables applications to display customized prompts in the status bar.
Activity Manager is used to manage the application lifecycle and to provide common navigation fallback functionality.
(4) Application (applications)
Android system will include some application packages including email client, SMS short message program, calendar, map, browser, contact management program and so on. All applications are written in the Java language.
Introduction to Android History and system architecture