The core technology of Android development is still Framework~

In the past few years, social problems have emerged one after another, and the most troublesome thing is the employment problem of people's livelihood. Large factories lay off workers, small factories close down, and a large number of fresh graduates flood into the job market every year.

In recent days, the Bureau of Statistics has also released employment-related data. There are more than 6 million unemployed youths nationwide . In the face of this data, we can think that the actual number of unemployed people will definitely be much higher than the published data, especially the statement that "one week Working more than one hour" is also included in the scope of employment.

On the other hand, there is a group of Android developers who have gained a firm foothold in such a pessimistic environment, and that is Android Framework development .

From the perspective of recruitment demand and job salary , the popularity of Framework development has never declined.

The Framework is also very useful in the field of app development, such as privacy protection, push notifications, sound settings, memory management, location services, custom system interface**, etc. I believe these tasks are applied in our daily development.

However, these tasks require developers to have a deep understanding of the internal mechanism and underlying code of the Framework, and they need to have system-level permissions to complete.

According to the development prospects of Android Framework searched by Zhiyouji from March to June this year, the highest growth rate of this position in May reached 1233%, almost doubling the growth rate, exceeding the growth of other positions in the Android industry.

Some people may think that the Android Framework is relatively simple, but there are very few people who really understand the Framework.

Years of experience in application layer development has made me only have heard or contacted the system source code Binder, Handler, AMS, WMS, and PKMS, but have not had an in-depth understanding.

This directly leads to the difficulty of getting started, confusion, and the risk of being eliminated.

If you haven't mastered the Framework yet, and want to get a thorough understanding of it in the shortest time, you can refer to "Android Framework Core Knowledge Points" , which includes: Init, Zygote, SystemServer, Binder, Handler, AMS, PMS, Launcher... ... and other knowledge point records.

"Framework Core Knowledge Point Summary Manual" :https://qr18.cn/AQpN4J

Part of the implementation principle of the Handler mechanism:
1. Macro-theoretical analysis and Message source code analysis
2. MessageQueue source code analysis
3. Looper source code analysis
4. Handler source code analysis
5. Summary

Binder principle:
1. Knowledge points that must be understood before learning Binder
2. Binder mechanism in ServiceManager
3. System service registration process
4. ServiceManager startup process
5. System service acquisition process
6. Java Binder initialization
7. Java The registration process of system services in Binder

Zygote :

  1. The startup process of the Android system and the startup process of Zygote
  2. The startup process of the application process

AMS source code analysis:

  1. Activity life cycle management
  2. onActivityResult execution process
  3. Detailed Explanation of Activity Stack Management in AMS

In-depth PMS source code:

1. PMS startup process and execution process
2. APK installation and uninstallation source code analysis
3. Intent-filter matching structure in PMS

WMS:
1. The birth of WMS
2. The important members of WMS and the addition process of Window
3. The deletion process of Window

"Android Framework Study Manual":https://qr18.cn/AQpN4J

  1. Boot Init process
  2. Start the Zygote process at boot
  3. Start the SystemServer process at boot
  4. Binder driver
  5. AMS startup process
  6. The startup process of the PMS
  7. Launcher's startup process
  8. The four major components of Android
  9. Android system service - distribution process of Input event
  10. Android underlying rendering-screen refresh mechanism source code analysis
  11. Android source code analysis in practice

Guess you like

Origin blog.csdn.net/weixin_61845324/article/details/131905085