1th theme: The Philosophical thinking of Android 1. simple shape, rich connotation, infinite repetition 2. Android 's IOC 3. APK and API 2nd topic: Android Application Framework Disclosure 1. CS structure: The manager-General structure in the application framework 2. Manager corresponds to service one by one 3. Cross-process communication and AIDL 3rd topic: Launching a new app in Android secrets 1. What happens when we touch the icon of an app on launcher on the Android screen? 2. Where is the application execution portal? 3. How did the process of a new Android application come about? 4th topic: Dalvik VMS 1. Dalvik VM features, Dalvik VM and JVM comparison 2. What are the root causes and solutions for the memory distribution of the Dalvik VM and the Oom (out of memory)? 3. Where exactly is preload classes and preload Resources,classloader? 4. Dalvik with Java and C + + 5th topic: Adding a Java-written service to the Applciation framework 1. IInterface and CTS 2. Binder 3. Aidl 4. Java Service and manager 5. Systemserver, ServiceManager 6th topic: Event-driven mechanism for Android framework porting 1. How is Android service coping with hardware blocking? 2. Open new sub-threads and keep poll 3. Listener Registration 4. Callback 5. Handler, Message, Looper, MessageQueue, application in the framework 6. Event-driven mechanism instances 7th topic: Manager, Service, and full data flow Principles of separation of 1,manager and service 2,ANR problems 3, blocking operation and non-blocking operation 4, illustrate the data flow from the bottom to the top of Android in an example 8th topic: AMS General analysis of Activitymanagerservice 1. Anatomy of the main function of Activitymanagerservice Setsystemprocess Analysis of 2,ams 3. Analysis of installsystemproviders function of AMS 4. Systemready Analysis of AMS 9th topic: Analysis of the startactivity of Activitymanagerservice 1. Activitymanager 2. Analysis of startactivityandwait function of AMS 3. Startactivitylocked anatomy 10th topic: Anatomy of the broadcast and broadcastreceiver of Activitymanagerservice 1. Registerreceiver Process Analysis 2. Sendbroadcast Process Analysis 3. BROADCAST_INTENT_MSG Message processing functions 4. Application process processing broadcast profiling 11th topic: Analysis of the startservice of Activitymanagerservice 1.startService Code Anatomy 2.startService flowchart |