Activity framework and management structure
The core of Activity management is AcitivityManagerService, which is an independent process ;
ActiveThread is the main thread of the process in which each application is located, and it processes messages in a loop ;
the communication between ActiveThread and AcitivityManagerService belongs to inter-process communication, using a binder mechanism
. All Activities in the application have only one ActivityThread belonging to one Process
Activity startup process
Activity startup process class structure analysis
1 ActivityService related classes
2 Activity start
3 ActivityStack management
4 ActivityThread