Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Application launch process

Tags:

android

launch

I am searching for some information about how are apps launch on android. I want ot found infromation what make zygote and about fork() . Do you know some usefull web-sites or books?

like image 715
Aprel Avatar asked Feb 03 '12 16:02

Aprel


People also ask

How does Android launch an app?

An Android process is started whenever it is required. Any time a user or some other system component requests a component (could be a service, an activity or an intent receiver) that belongs to your application be executed, the Android system spins off a new process for your app if it's not already running.

What code is executed when an application launched?

So although the call stack of an Android application start at ZygoteInit. main, the code executed in ZygoteInit.


2 Answers

I have written a two part series to explain Android Application launch process on my blog -

http://multi-core-dump.blogspot.com/2010/04/android-application-launch.html

http://multi-core-dump.blogspot.com/2010/04/android-application-launch-part-2.html

I hope you will find it useful.

like image 94
coredump Avatar answered Oct 18 '22 04:10

coredump


There is a nice explanation in this presentation. It's written partially in Korean, but the most part of information in English.

like image 27
Yury Avatar answered Oct 18 '22 05:10

Yury