I have my application and I would like to have two different launchers that each launch different activities. They should all be bundled into one apk and not two separate applications. I know this is possible, example in the XKCD Browser on the Google play store. I have already tried implementing this segment in the second activity I need to be in the launcher:
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
This results in the first activity declared as MAIN to be launched when clicking the second launcher. I have also tried:
<intent-filter>
<action android:name="android.intent.action.ACTIVITY_NAME"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
As well as:
<intent-filter>
<action android:name=ACTIVITY_NAME"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
Which achieves the same result. I need this to function down to API 17. Ideas?