Dynamically Specify the First Activity
<p>The main activity is specified in AndroidManifest.xml with:</p>

<pre><code>        &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;
</code></pre>

<p>But I don't know how to dynamically specify the first activity according code logic.</p>
