I have something to say about the misunderstandings that most people have when learning Android Framework

foreword

First of all, Framework is an indispensable part in Android development, because it involves the underlying principles, and it is necessary to repeatedly call some of its underlying controls to realize certain functions during the development process.

Framework has already become the de facto industry standard for Android application layer development. It can be said that Framework is a deep-water area for Android development, and it is also a "touchstone" to measure the ability of an Android programmer. If you want to raise your salary, Framework has become one of the compulsory courses for Android programmers. one.

In the process of learning the Android framework, every time you walk into a misunderstanding, or take a long way around, you will spend a lot of effort on the huge source code. Here I still want to remind everyone not to care too much about those complicated function call chains. It is most important to learn the tracking method and grasp the finishing process.

The learning route is as follows:
insert image description here

Learning the Android framework has only one ultimate goal, which is to " learn to read the source code " instead of " learn the source code ". So how can we quickly learn and sort out the Framework knowledge system?

In order to help you understand the function and structure of the Framework in the entire Android architecture, and systematically learn and master the Android framework, here we specially collaborated with the Ali P7 architect and the Google technical team to organize a Android framework source code development secret information with clear content . It is easier to understand with graphical representation. Suitable for beginners and advanced developers.

If necessary, scan the QR code below to get it for free! ! !

Android framework source code development secret

Chapter 1 System Startup Process Analysis

  • The first section Android startup overview
  • Section 2 init.rc analysis
  • Section 3 Zygote
  • Section 4 Interview Questions
    insert image description here

Chapter 2 Cross-process Communication IPC Analysis

  • The first section Service can also be understood in this way
  • Section 2 Binder Basics
  • Section III Binder Application
  • Section 4 AIDL Application (Part 1)
  • Section 5 AIDL Application (Part 2)
  • Section 6 Messenger Principles and Applications
  • Section 7 Server Callback
  • Section 8 Get Service (IBinder)
  • Section 9 Full Analysis of Binder Interview Questionsinsert image description here

Chapter 3 Handler Source Code Analysis

  • Section 1 Source Code Analysis
  • Difficult questions in the second quarter
  • Section 3 Handler Frequently Asked Interview Questionsinsert image description here

Chapter 4 AMS Source Code Analysis

  • Section 1 Introduction
  • Section 2 Android Architecture
  • Section 3 Communication Methods
  • Section 4 System Startup Series
  • Section 5 AMS
  • Section 6 Analysis of AMS Interview Questionsinsert image description here

Chapter 5 WMS source code analysis

  • Section 1 WMS and activity startup process
  • Section 2 WMS Drawing Principle
  • Section 3 WMS role and instantiation process
  • Section 4 WMS Working Principleinsert image description here

Chapter 6 Surface source code analysis

  • Section 1 Creation process and software and hardware drawing
  • Section 2 Double Buffering and Surface View Analysis
  • Section 3 Overview of Android Graphics Systeminsert image description here

Chapter 7 Analysis of SurfaceFlinger Source Code Based on Android 12.0

  • The first section application establishes a communication bridge with SurfaceFlinger
  • Section 2 SurfaceFlinger's startup and message queue processing mechanism
  • VSyns of SurfaceFlinger in the third section (on)
  • Section 4 SurfaceFlinger VSyns (middle)
  • VSyns of SurfaceFlinger in the fifth section (below)insert image description here

Chapter 8 PKMS source code analysis

  • Section 1 PKMS calling method
  • Section 2 PKMS Startup Process Analysis
  • Section 3 APK Scanning
  • Section 4 APK Installation
  • Section 5 PKMS Permission Scanning
  • Section 6 Silent Installation
  • Section 7 requestPermissions source code process analysis
  • Section 8 PKMS Interview Questionsinsert image description here

Chapter 9 InputManagerService Source Code Analysis

  • The first section Android Input input event processing flow (1)
  • Section 2 Android Input input event processing flow (2)
  • Section 3 Android Input input event processing flow (3)insert image description here

Chapter 10 DisplayManagerService Source Code Analysis

  • The first section DisplayManagerService starts
  • The creation of the second section DisplayAdepter and DisplayDevice
  • The third section DMS part of the process of turning on and off the screen
  • Section 4 Brightness Adjustment
  • Section 5 Proximity Sensor off-screen principle
  • Section 6 Update of Logical Display and Physical Display Configurationinsert image description here

at last

Because at present, the app development of large companies must be based on the idea of ​​modularization, hierarchy, componentization, and control to design the architecture, and the foundation of all this is based on the realization of the underlying principles of the Android Framework system framework, so programmers master the framework will be especially important.

Guess you like

Origin blog.csdn.net/YoungOne2333/article/details/129994736