Launcher Start-up process
Reference: http://blog.csdn.net/fengkehuan/article/details/6205980
From the network to find a section on the launcher of the starting process of the article, as a background knowledge of learning launcher:
linux kernel start will be through a process to initialize Android runtime java operating environment, while a I'm seeing only native Service manager not zygote fork)
Intent Intent = new Intent (mtopaction, mtopdata! = null?) Uri.parse (Mtopdata): null); Intent.setcomponent (mtopcomponent); if (mfactorytest! = systemserver.factory_test_low_level) { intent.addcategory (intent.category_home); }
......
Startactivitylocked (NULL, intent, NULL, NULL, 0, ainfo,null, NULL, 0, 0, 0, false, false);
Home manifest
<intent-filter> <action android:name= "Android.intent.action.MAIN"/> <category android: Name= "Android.intent.category.HOME"/> <category android:name= "Android.intent.category.DEFAULT"/> </intent-filter>
Started the Home process. The process of starting the home process is actually going through a sub-process zygote fork.
Android launcher-Boot process