Activity启动
2017-11-21 15:19:16 14 举报
登录查看完整内容
Activity的启动流程
作者其他创作
大纲/内容
startActivityFroResult
4
resumeTopActivityInnerLocked
11
newApplication
5
16
execStartActivity
21尝试创建Application
9
scheduleLaunchActivity
18
3(IPC)
IApplicationThread
sendMessage
Activity.class
2
14
resumeFocusedStackTopActivityLocked
8
20反射加载Activity实例
19
17
22尝试反射加载Application实例
13
startActivity
6
ApplicationThread
startSpecificActivityLocked
Impl
7
startActivityAsUser
10
LoadedApk
performLaunchActivity1.反射创建Activity实例2.反射创建Application3.调用Activity的attach4.调用Activity的Oncreate方法
handlerMessage
Instrumentation
realStartActivityLocked
makeapplication
12
ActivityManagerService
startActivityLocked
handleLaunchActivity
ActivityStack
newActivity
startActivityUnchecked
1
ActivityThread inner H
15
resumeTopActivityUncheckedLocked
ActivityStarter
startActivityMayWait
ActivityStackSupervisor
0 条评论
回复 删除
下一页