The first chapter of Android driver development

Source: Internet
Author: User

As the first door to learning Linux , this chapter will provide a general introduction to Android and Linux drivers so that readers can Linux drivers have a perceptual understanding and a better way to learn Linux -driven methods and techniques to lay the groundwork.

First, the four-tier infrastructure is describedLinuxKernel,C + +code Base,Android SDK API, each layer of the application has specific functions and roles, mainlyLinuxKernel,Androidis based on it, so skilled in masteringLinuxkernel-related knowledge, theAndroidwe have a basic grasp and then introduce two parts of the Android transplant: Application porting and system porting. Application porting is the porting of an application to a specific hardware platform. System porting is theAndroidthe operating system runs on a particular hardware platform. Androidthe primary job of the transplant is to transplantLinuxDrive and TransplantHAL. Finally, it tellsLinuxthe kernel version and device classification as well asLinuxDrive. The driver is a kind of program that directly interacts with the hardware, which is responsible for abstracting the hardware, providing an API for application azimuth, so long as the application accesses the hardware through the driver, there is no need to modify the source code of the application. When there are many types of printing instructions are not the same as the printer, and is called by the same application, there will be no use of the situation, when we have developed the driver, through the interface to the class abstraction, can greatly reduce the hardware coupling over high situation, through the driver to access the printer.

The first chapter of Android 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.