Android deep game

Source: Internet
Author: User

For project reasons, we must thoroughly explore the Android system to complete the previously arduous tasks. In this way, we have enabled the android deep game.

The Application Layer Development of Android is still quite comfortable. Google has made everything ready, and as long as Java is used, it can develop a colorful application. However, it is still relatively large internally, and it is still relatively difficult to chew on it. Although it is open, it will inevitably be lost in the face of code in the ocean.

First, let's look at the architecture of the Android system.

It consists of four layers: Linux kernel, libraries, application framework, and applications.

Android is based on the Linux kernel, which is the first layer. This means you need to have Linux experience. Knowledge of lniux kernel and Linux driver is indispensable. For kernel-related books, I am reading the Linux kernel complete comments and Linux kernel source code scenario analysis written by two Chinese people.

Zhao Yu, author of the previous book, mainly analyzes the 0.11 kernel. Starting from a kernel with a relatively small amount of code, it is easy to understand and won't be scared by the huge amount of code. In the face of Linux background and some principles, this is much better than the dry analysis code, it is easy to understand and digest.

The authors of another book are still very powerful. Both the author Mao decao and Hu Ximing are professor-level figures. Mr. Mao has now settled in the United States, and this book is a joint venture between the two who shared their experiences and experiences during their work, in fact, it is also a souvenir of the past years, a feeling of Long live friendship. This book aims at Kernel 2.4.0. It provides a detailed explanation of the context and explores the kernel world from the context analysis. Is a rare Chinese classic.

Driver, in fact, is the most part of the entire kernel code. However, I recently searched for some information on the Internet and did not study it in depth. I can do it later.

The second layer is the runtime of the Public Library and Android. libraries is a big topic and has a special book for discussion. I mainly focus on the runtime of Android.

Android Runtime is composed of Dalvik Virtual Machine and core library. In this regard, you can read Yang Rich's Android technology Insider: system volume, dedicated to opening up a virtual machine. Although the runtime only occupies a small part of the architecture diagram, it is very important and every application runs here.

The third layer is the application framework layer, which is the layer-4 Application layer that exposes APIs.

When I read the following books, I feel that I can learn something. They are all done by Chinese people.

1. Understand android in depth (Volume 1) and (Volume 2) Deng fanping.

My book. I have carefully studied vold and other detailed analysis here, and I am very impressed so far. The first and second books are enough to take you to the inside of Android and get some gains. Put them on the table, read them at any time, and make profits at any time. Starting from the initialization of the android framework, all components that have passed through are involved. However, when a knowledge point requires more detailed analysis, I feel that there are some shortcomings in the book. This is understandable because the knowledge coverage is too wide, and no one is an expert in various fields. It is normal to have insufficient knowledge.

2. Yang Feng holds the story of Android technology: system volume.

This book was my first book, probably just launched. At that time, I was working on Android Application Development. Because it was too deep into the system and involved various drivers, I could not help reading it. Let me put it down. I recently picked it up and saw what I wanted. I am glad that I chose it.

3. Analysis of Android kernel ke Xinnian

Kernel profiling is intended to attract people and does not resonate with everyone. This book covers a wide range of knowledge points, but it's just a little bit of water. The most terrible thing is that there are many typos, some of which affect the content expression. My comment is not high. You can try it.

4. In-depth analysis of Android system Yang Changgang

What impressed me most is the android startup process, which is very good. I did not have in-depth analysis before. After reading it, I felt that I had clarified many questions and made up for my previous ignorance. Reading is good, but the time cannot be intensive, so you can read it at any time.

Finally, I will post a very nutritious image from makelinux.

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.