I have an Android app where I wish to have 2 Activities that can be launched from the app drawer. I've declared both Activities in the AndroidManifest, but it seems like only the 1st one is being launched no matter which app I tap on. The 2nd declaration seems to be ignored, as I don't even get an app crash if I specify an invalid name.
Here's my manifest.
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name=".Activity1"
android:label="@string/activity1" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".Activity2"
android:label="@string/activity2">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>