Android Deep Explore Reading notes

Source: Internet
Author: User
Tags using git

Android Deep Explore (Volume 1) HAL with drive development reading notes

The first chapter of the Android system porting and driving development overview can be divided into the following sections:

1, the Android system architecture can be divided into 4 layers, the Linux kernel, C + + code library, Android SDK API, applications.

2, the main work of Android system transplant can be divided into two parts: application transplant and system transplant. Application porting refers to porting an application to a specific hardware platform. System porting refers to having the Android operating system run on a particular hardware platform. The main work of Android porting is to migrate Linux drivers and porting the HAL.

3, want to see the kernel version of other Linux system input code: UNAME-A or Cat/proc/version.

4, the Linux kernel version number by the major version number, minor version number, revision number, fine-tuning version number and for the specific Linux system special tuning description. The only way to determine if the Linux kernel is the same is the Linux kernel version number.

5. The drive targets the memory and peripherals. Linux divides memory and peripherals into character devices, block devices, and network devices.

The second chapter of building the Android development environment is mainly about the following parts:

1. Development, testing and commissioning of Linux drivers, HAL Libraries required: JDK6 or above, eclipse3.4 or later, ADT, CDT, Android SDK, Android NDK, cross-compilation environment, Linux kernel source code, Android source code, the serial tool for debugging the Development Board minicom. Unzip command for TAR-XVF

2, the main steps are as follows: Install the JDK (Ubuntu Linux can directly enter the command to install the JDK), build an Android application development environment (Install the Android SDK, install Eclipse, install ADT, configure ADT, build AvD (Android Virtual device), install the Android NDK development environment (download Android NDK, install CDT, install line to compile Android NDK program, import Android NDK example, configure the Android NDK integrated development Environment), Installs the cross-compilation environment.

The third chapter of git usage can be divided into the following sections:

1. Linux kernel code and many well-known projects are using Git written by the father of Linux for source code control. Git has extraordinary performance and the most optimized storage capabilities, and Git is better than any other source code-management software in every way. Understanding Git's theory and basic usage will help Linux learn.

2. Installing git (install Git,install git-doc git-svn git-email Git-gui gitk).

3. View the Git document (man git-checkout).

4. Source code submission and acquisition (Create repository: Git init, commit file to local repository: git commit, create local branch: Git branch, switch local branch: Git checkout, create an open source project on GitHub, Upload source code to github:git push, download source code from github: Git clone).

The fourth chapter of the source code download and compilation can be divided into the following parts:

1. Download, compile and test Android source code (configure Android source code download environment, Android source code directory structure resolution, download part of Android source code, compile Android source code, out directory structure analysis, Publish your apk as an Android built-in program, test the system.img file with the simulator, download and compile the Linux kernel source code (download the Linux kernel source code, the Linux kernel source directory structure, install the Android kernel's build environment, Configure the Linux kernel to be compiled).

http://www.cnblogs.com/xcswdd/

Android Deep Explore Reading notes

Related Article

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.