Chapter One overview of Android system porting and driver development

Source: Internet
Author: User

Android System architecture--four layers

First layer: Linux kernel: Android is based on Linux kernel, this layer mainly includes Linux driver and memory management, process management, power management and other programs. Android uses Linux2.6 as its kernel.

The second layer: C + + code library: This layer mainly includes code libraries written in C + + (. So files under Linux and NDK code embedded in the APK program), and also includes the runtime (rumtime) of the DALIVK virtual machine.

Layer Three: Android SDK API: A direct application-oriented Java API layer, a variety of libraries written in Java (for Dalvik virtual machine format based).

Layer Fourth: Apps: Java applications that are accessible to all Android users, directly to end users, all Android applications are on this tier and rely on the third tier for a variety of functions.

Linux device drivers

A driver is a kind of program that interacts directly with hardware and is responsible for abstracting the hardware. The drive targets memory and peripherals and divides them into 3 categories: Character devices (Character devices) (which must be accessed in serial order), block devices (accessed in any order, in blocks), Network device (Devices).

Chapter One overview of Android system porting and driver development

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.