Wang Jialin Android HTML5 cloud computing practices hadoop -- Wang Jialin's thorough understanding of the Android Application Framework architecture and code practices

Source: Internet
Author: User

 

Wang Jia Lin: committed to hardware and software cloud integration, familiar with Android, HTML5, hadoop Tel: 18610086859 Email: jialingege@126.com hiheartfirst@gmail.com

 

 

 

I. Jia Lin's words:

APKThe combination of Application Framework (AF) and application development engineers is a result of their common wisdom. The operation of APK is the interaction between codes developed by AF and application development engineers.

Based on the experience of working with the father of Android and the android teams in Google, Samsung, and HTC, this course strives to give you a thorough insight into af from the perspective of designers, starting with the architecture and Transplantation of AF, then detailed with AMS, PMS, WMS code detailed verification and in-depth analysis, and finally to the end of the ANR thorough analysis.

Ii. What value does this course bring to you?

1,Experienced app development engineers:

1. Solving applicationsProgramFrequently Occurring intractable diseases, such as ANR and OOM

Second, the secrets behind the installation, running, and termination of applications are detailed.CodeIn-depth analysis;

Third, it is the quickest and most practical way to move from an application development engineer to an android architect;

2,Experienced Android Developers:

First, all the architectural design secrets inside the application framework are revealed, allowing you to port your hardware services into the AF as the cloud goes smoothly;

2. Control Android Application developers;

Third: understand how the top-level business architecture thinking is transformed into specific framework code;

3. target objects:

With at least half a year of experience in Android Application Development, the richer the experience, the better;

Experience in Porting Android systems;

Friends who have taken Wang Jialin's Android software and hardware integration course or application development course;

 

IV,Training Content

 

Day 1

1st theme: philosophical thoughts on Android

1. simple shape, rich connotation, and unlimited repetition

2. Android IOC

3. APK and API

 

2nd theme: Revealing the secrets of Android Application Framework

1. CS structure: General Manager structure in the application framework

2. One-to-one correspondence between managers and services

3. Cross-process communication and aidl

 

3rd theme: opening a new app in Android

1. What is the calling process when we touch an app icon on the launcher on the android screen?

2. Where is the execution entry of the application?

3. How did a new Android Application Process generate?

 

4th topics: Dalvik VM

1. Dalvik VM features, comparison between Dalvik Vm and JVM

2. What are the root causes and solutions for Memory Distribution and out of memory (out of Memory) Of Dalvik VM?

3. Where Are preload classes, preload resources, and classloader?

4. Dalvik and Java and C/C ++

 

5th topics: add services written in Java to applciation framework

1. iinterface and CTS

2. Binder

3. aidl

4. Java service and Manager

5. systemserver, servicemanager

 

6th topics: event-driven mechanism during Android framework porting

1. How does Android Service cope with hardware blocking?

2. open up new sub-threads and keep poll

3. Register listener

4. Callback

5. Handler, message, logoff, messagequeue,

6. event-driven instance

 

7th topics: Manager, service, and complete data flow

1. Principles of separation of manager and service

2. ANR Problems

3. Blocking and non-blocking operations

4. Use an example to describe the data stream from the bottom layer to the top layer in Android

 

8th theme: overall analysis of AMS in activitymanagerservice

1. Main Function Analysis of activitymanagerservice

2. Analysis of AMS setsystemprocess

3. Analysis of the installsystemproviders function of AMS

4. Analysis of AMS systemready

 

9th theme: startactivity Analysis of activitymanagerservice

1. activitymanager

2. Analysis of startactivityandwait function of AMS

3. startactivitylocked profiling

 

10th theme: Analysis of broadcast and broadcastreceiver in activitymanagerservice

1. registerreceiver Process Analysis

2. sendbroadcast Process Analysis

3. broadcast_intent_msg Message Processing Function

4. Analysis of Application Process processing Broadcast

11th theme: startservice Analysis of activitymanagerservice

 

1. startservice code profiling

2. startservice Flowchart

 

 

 

Time

Content

Remarks

Day 2

1st topics: activitymanagerservice Process Management

1. Process Management in Linux and Android

2. Analysis of AMS process management functions

 

2nd topics: crash processing of activitymanagerservice apps

1. Crash processing of application processes

2. handleapplicationcrash Analysis of AMS

3. appdeathrecipient binderdied Analysis

 

3rd theme: Main Function Analysis of packagemanagerservice

1. Preparations for Constructor Analysis

2. constructor analysis: scanning package

3. Scanning the final work of constructor Analysis

4th theme: Analysis of APK installation in packagemanagerservice

1. ADB install Analysis

2. PM analysis

3. Analysis of installpackagewithverification Functions

4. APK Installation Process

5. Verification Introduction

 

5th theme: Analysis of queryintentactivities in packagemanagerservice

1. Introduction to intent and intentfilter

2. Manage activity information

3. Analysis of intent matching Query

4. queryintentactivities Summary

 

6th themes: installd and usermanager Analysis of packagemanagerservice

1. installd profiling

2. usermanager profiling

 

7th topics: application interface initialization of windowmanagerservice

1. Windows in Android

2. Application Interface initialization process

 

8th theme: windowmanagerservice Window Management

1. windowmanagerservice. Java

Windowstate. Java

Windowtoken. Java

Appwindowtoken. Java

Session. Java

Inputmanager. Java

Inputmonitor. Java

Analysis

2. Time Sequence of Window Creation During activity startup

 

9th theme: windowmanagerservice windowmanagerimpl Analysis

1. addview

2. viewroot

 

10th theme: windowmanagerservice windowmanagerimpl Analysis

1. Interaction between viewroot and WMS

2. windowstate and Surface

 

11th topics: thorough understanding of ANR

1. Common ANR scenarios and common solutions

2. From the framework and system point of view: How does ANR generate it?

3. What is the ultimate ANR solution?

 

 

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.