Why not! Just add this to your favorite AndroidManifest.xml:
<application>
<activity android:name="AActivity" android:icon="@drawable/a_icon" android:launchMode="singleTask"
android:screenOrientation="portrait"
android:label="@string/a_name" android:theme="@android:style/Theme.Translucent.NoTitleBar">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name="BActivity" android:icon="@drawable/b_icon" android:launchMode="singleTask"
android:screenOrientation="portrait"
android:label="@string/b_name" android:theme="@android:style/Theme.Translucent.NoTitleBar">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name="CActivity" android:icon="@drawable/c_icon" android:launchMode="singleTask"
android:screenOrientation="portrait"
android:label="@string/c_name" android:theme="@android:style/Theme.Translucent.NoTitleBar">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity></application>
and that's it. You'll get s single app with three different app icons: a_icon, b_icon, c_icon.
No comments:
Post a Comment