In Android, intents allow various app components to communicate with each other and interact with other apps. Apps use intents to start activities, broadcast messages to other apps, and access data from different sources. Let’s explore intents to start an activity.

Intent starting an activity

The following figure shows how an intent can start an activity. The Android OS starts the app component when the intent explicitly uses the name to start an activity.

Get hands-on with 1200+ tech skills courses.