O'Reilly logo

Learning Android Intents by Wajahat Karim, Muhammad Usama bin Aftab

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Implicit intents

Unlike explicit intents, when a developer doesn't know which component to use, implicit intent is a good choice. Implicit intents do not directly specify the Android components to be activated as in explicit intents, but they only specify which actions need to be performed. The Android OS will choose the components to be triggered. If there are multiple components which can be triggered, the Android OS provides options to the user to select one component. For example, we want to open a web link in a browser. If we use explicit intents, one option that we have is to develop our own custom browser and trigger it explicitly from our app to view the web link. The other way, which is more preferable, is to use implicit intents to open ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required