Activity 的启动过程分为两种:一种是普通 Activity 的启动过程,另一种是根 Activity 的启动过程。普通 Activity 指的是除应用程序启动的第一个 Activity 之外的其他 Activity。根 Activity 指的是应用程序启动的第一个 Activity,因此,根 Activity 的启动过程一般情况下也可以理解为应用程序的启动过程。 普通 Activity 的启动流程比较复杂,比如用 Activity A 打开 Activity B,这一过程开始于 A.startActivity(Intent) 经过 system_server 进程的处理,最终调用 B.finish() 结束生命周期。 普通 Activity 的启动流程可以分为以下 3 部分: Activity 请求 ActivityTaskManagerService(ATMS) 的过程 ATMS 到 ApplicationThread 的调用过程 ActivityThread 启动 Activity; 1.1 Activity 请求...
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Get in touch with Return Iactivity
Contact Return Iactivity, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack