Too many Activities being started when launching an Android Application
<p>I am confirming about creating activity. </p>

<p>My Manifest.xml is like this :</p>

<pre><code>&lt;application android:icon="@drawable/icon" android:label="@string/app_name"&gt;
&lt;activity android:name=".FirstActivity"
          android:label="@string/app_name"&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=".SecondActivity"
          android:label="@string/app_name"&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=".ThirdActivity"
          android:label="@string/app_name"&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;
</code></pre>

<p></p>

<p>You can see property <code>action android:name=</code> property is <code>"android.intent.action.MAIN"</code> and 
<code>category android:name=</code> is <code>"android.intent.category.LAUNCHER"</code> for all activities.</p>

<p>When application starts up, it calls FirstActivity.</p>

<p>Then calls useless Activity such as ThirdActivity or SecondActivity.</p>

<p>In this case, is my <code>manifest.xml</code> correct?</p>

<p>Or, do I need to set another property to Second and Third activity?
If so, what is that?</p>

<p>I wonder <code>manifest.xml</code> file is right for my case.</p>

<p>Please advise.</p>

<p>Thanks in advance.</p>
