The startup process of the application process
Cold start and warm start
Cold start compared with hot start: In addition to starting the entry activity of the target process, cold start also needs to apply to Zygote to start the target application process through AMS , while hot start needs to directly open the entry activity of the target process because the target process has already started That's it.
AMS cold start general process:
When is the application process started?
- AMS checks whether the application process where the component is located is started before starting the component
- If it has been started, directly start the life of the corresponding component