Introduction to the Android system architecture for Android

Source: Internet
Author: User

Overview

Android system architecture such as:

From the top down there are altogether four layers:
Application layer, application framework layer, function library and Android runtime layer, Linux kernel layer.

Each layer is described below:

Layering the application layer

Contains a series of Android core applications, most Android apps also belong to this layer, such as calendars, alarms, browsers and so on. This layer belongs to the user.


Application Framework Layer

This layer is the layer that the average developer needs to master, and we use the various modules in the framework to develop the application, which can be reused for all kinds of services. Understanding this layer allows developers to develop applications faster and better. Here's a look at each module:

Serial Number Module Name Use
1 Activity Manager (active manager) Manage the application lifecycle and provide common navigation fallback functionality
2 Window Manager (Windows Manager) The entire android window mechanism is based on WindowManager, which can add view to the screen or remove the view from the screen
3 Content Providers (contents provider) Enables applications to access data from another application, or share their own data
4 View System (views management) The view used to create the application, which is a variety of UI components
5 Notification Manager (Notification Manager) Enables applications to display customer notification information in the status bar
6 Package Manager (Pack manager) Manage application packages through which you can get information about the application
7 Telephony Manager (Phone manager) Provides a series of get methods for accessing status and information related to mobile communication. These include mobile SIM status and information, the status of the telecommunications network, and the information of mobile phone users.
8 Resource Manager (Resource Manager) Image resources, interface XML resources, fonts, colors and other resources are managed uniformly by the resource manager
9 Location Manager Managing the related features of map services
10 XMPP Services Extensible message and Presentation Protocol service, which is an XML-based communication protocol


Library and Android Runtime layer

This layer is already on the ground floor, and general Android apps don't involve this layer. This layer includes the function library and the Android Runtime environment:

Libraries

ordinal module name features
1 Surface Manager Management of the display subsystem and provides seamless integration of 2d,3d layers for the application
2 Media Framework (Library) Based on Packevideo Opencore, the library supports a variety of commonly used audio, video formats, as well as playback and recording, while supporting still image files. Encoding formats include: MPEG4, H.264,mp3, AAC, AMR, JPG, PNG
3 Sqlite A powerful lightweight relational database engine available for all applications
4 OpenGL ES Based on OpenGL ES 1.0 APIs, the library can use hardware 3D acceleration or use highly optimized 3D soft acceleration
5 FreeType Bitmap (bitmap) and vector (vectors) Word graph display Support
6 Webkit Latest Web browser engine to support Andiroid browser or embedded Web view
7 SGL The underlying 2D graphics engine
8 Ssl Secure Sockets layer Secure sockets, a security protocol for network communications that provides security and data integrity
9 LIBC (System C library) A standard C system function library (LIBC) from BSD integration that is specifically tailored for embedded Linux-based devices

Android Runtime

Serial Number Module Name function
1 Core Libraries The core library provides most of the functionality of the Java programming language core Library
2 10.Dalvik VMS A virtual machine on the Android platform that is the equivalent of a Java Virtual machine JVM in a PC


Linux kernel layer

This layer is the Linux kernel that the Android system relies on, and the kernel provides the following functions:

    1. Safety (Security)
    2. Memory Management (Management)
    3. Progress Management (Process Management)
    4. Networking stacks (Network stack)
    5. The driver Model (Driver models) contains the following general drivers:
      • Display Driver
      • Keypad Driver
      • Camera Driver
      • WiFi Driver
      • Flash Memory Driver
      • Audio Driver
      • Binder (IPC) Driver
      • Power Management
      • Bluetooth Driver
      • USB Driver

Introduction to the Android system architecture for Android

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.