Multiple Activities in Android manifest/app drawer
<p>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.</p>

<p>Here's my manifest.</p>

<pre><code>&lt;application
    android:allowBackup="true"
    android:icon="@drawable/ic_launcher"
    android:label="@string/app_name"
    android:theme="@style/AppTheme" &gt;

    &lt;activity
        android:name=".Activity1"
        android:label="@string/activity1" &gt;
        &lt;intent-filter&gt;
            &lt;action android:name="android.intent.action.MAIN" /&gt;

            &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
        &lt;/intent-filter&gt;
    &lt;/activity&gt;
    &lt;activity
        android:name=".Activity2"
        android:label="@string/activity2"&gt;
        &lt;intent-filter&gt;
            &lt;action android:name="android.intent.action.MAIN" /&gt;

            &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
        &lt;/intent-filter&gt;
    &lt;/activity&gt;
&lt;/application&gt;
</code></pre>