Explicit Intents in Android: Part 1

<h1>Manifest File</h1> <p>Inside our manifest file, we have defined two activities: Activity A and Activity B.</p> <ul> <li>Activity A is set as the entry point of the application, specified by the intent filter with the action &ldquo;action.main&rdquo; and category &ldquo;category.launcher&rdquo;.</li> <li>Activity B is another activity in the application, with the category &ldquo;category.default&rdquo; and the action &ldquo;com.birbal.activityb&rdquo;.</li> </ul> <p>If both activities are set as the entry point, both will be visible when you open the application.</p> <p>It is not recommended to use the same category &ldquo;category.launcher&rdquo; for multiple activities.</p> <h1>Intents</h1> <p>To move from one activity to another, we use explicit intents.</p> <p>The syntax for creating an intent is:</p> <p><a href="https://blog.stackademic.com/explicit-intents-in-android-part-1-da6769f2a6f8"><strong>Visit Now</strong></a></p>