According to the Android Frame source code,I know the basic mechanism
of booting a Activity as follows:
1.find ActivityManagerService via ServiceManager.
2.ActivityManagerService will new a ActvityThread on the
ActivityStack.
3.ActivityThread run PerformLaunchActivity method to exec MyActvity's
onCreate Method.
Now,some doubts comes.
The ActivityThead starts the MainLooper to exec a handler which handle
Message in the MessageQueue.The message is like this:
LAUNCH_ACTIVITY,DESTROY_ACTIVITY,PAUSE_ACTIVITY and so on.
I will appreciate that someone could help me understand the relations
between the Message and Acticity life-cycle method,for
example:PAUSE_ACTIVITY and onPause().
Many thanks.

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to