android 把应用作为launcher启动的配置

如果要把自己做的应用做为launcher启动,只需要在配置文件中加入

<category android:name="android.intent.category.HOME" />
<category android:name="android.intent.category.DEFAULT" />

当然,如果设备自带的启动器还在,就会让你选择启动那个启动器。

猜你喜欢

转载自deep-fish.iteye.com/blog/1723197