Android App Development enterprise-class best practices

Source: Internet
Author: User

One: The words of Jia Lin:

APK is the crystallization of the common wisdom of the AF (application Framework) and application development engineers, and the operation of the APK is the code interaction developed by the AF and application development engineers.

This course is based on the experience of working with Android's parent and Android teams in Google, Samsung, and HTC, and seeks to lead the designer to a thorough insight into AF, starting with the architecture and porting of AF, and then detailing the AMS, PMS, WMS's code meticulous validation and in-depth analysis ended with a thorough analysis of the ANR.

Second: What value does this course bring to you?

1, with Android app development experience application software Development engineer:

First: Solve frequently-occurring problems with applications such as ANR, Oom, etc.

Second: Application installation, operation, the end of the secret behind, and detailed code analysis to explore in depth;

Third: From the application development engineer to the Android architect the quickest and most practical way;

2, experienced Android system developers:

First: The application framework inside all the architectural design secrets, let you transfer your hardware services into the AF as smooth as flowing;

Second: Master Android app developer;

Third: How to understand the top business architecture thinking is transformed into concrete framework code;

Three: Suitable for the object:

Have at least half a year experience in Android application development, the richer the better;

Experience with Android system transplant;

Friends who have been on the Liaoliang Android software and hard integration course or application development course;

Liaoliang Teacher (Contact email [email protected] Tel: 18610086859 qq:1740415547 No.: 18610086859)

Iv. content of the training

First day

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

Time

Content

Note

Next day

1th topic: Activitymanagerservice Process Management

Process management in 1.Linux and Android

Anatomy of 2.AMS Process management functions

2nd topic: Crash processing for activitymanagerservice Apps

1. Crash Processing of application processes

Handleapplicationcrash Analysis of 2.AMS

3.AppDeathRecipient binderdied Anatomy

3rd topic: Anatomy of the main function of Packagemanagerservice

1. Preliminary preparation for anatomy of a constructor function

2. The scanning package for the anatomy of a constructor function

3. The finishing work of the anatomy of the constructor function

4th theme: Packagemanagerservice APK installation anatomy

1. Analysis of ADB install

2. PM Anatomy

3. Anatomy of installpackagewithverification function

4. APK installation Process

5. Verification Introduction

5th topic: Analysis of the queryintentactivities of Packagemanagerservice

1. Intent and Intentfilter Introduction

2. Management of activity information

3. Anatomy of Intent Matching query

4. Queryintentactivities Summary

6th topic: Analysis of the installd and usermanager of Packagemanagerservice

1. Installd Anatomy

2. Usermanager anatomy

7th topic: Windowmanagerservice Initialization of the application interface

1. Windows in Android

2. The process of initializing the application interface

8th topic: Window Management of Windowmanagerservice

1. Windowmanagerservice.java

Windowstate.java

Windowtoken.java

Appwindowtoken.java

Session.java

Inputmanager.java

Inputmonitor.java

And so on the analysis

2.Activity timing of creating windows during startup

9th topic: Analysis of the Windowmanagerimpl of Windowmanagerservice

1. AddView

2. Viewroot

10th topic: Analysis of the Windowmanagerimpl of Windowmanagerservice

1. Viewroot and WMS Interaction

2. WindowState and surface

11th topic: A thorough insight into the ANR

1. Scenarios and common solutions that are commonly seen in ANR

2. From the frame and system point of view: How is the ANR produced?

3. What is the ultimate solution for ANR?

Android App Development enterprise-class best practices

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.