您的位置:首页 > 移动开发 > Android开发

Making new Android HOME screen

2009-11-29 08:45 316 查看
1. android home tags

<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.HOME"/>
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.MONKEY" />
</intent-filter>

2. in order to make new Home, above tags must be in AndroidManifest.xml, when the apk is install in the system, package manager will register this home applicaton in

3. start sequence: how the home are invoked

Kernel-> init -> mount-> sys -> zygote-> system server-> all services ->system ready -> intent.addCategory(Intent.CATEGORY_HOME);

4. TO replace orignal android home screen, only just remove the old Laucher.apk, and place the new Laucher.apk, the default home will be yours
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: