1个apk多个图标,及多个程序入口。。
在androidManifest里配置就好了:
<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name=".OpenwithFileActivity"
android:icon="@drawable/icon1"
android:label="@string/app_name"
android:process=":process.main" >
<intent-filter >
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:icon="@drawable/icon2"
android:label="@string/app_name1"
android:name=".OpenwithFile1Activity"
android:process=":process.abc" >
<intent-filter >
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:icon="@drawable/icon3"
android:label="@string/app_name2"
android:name=".OpenwithFile2Activity"
android:process=":process.adb1" >
<intent-filter >
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>