What is Explicit Intent?

Technology CommunityCategory: AndroidWhat is Explicit Intent?
VietMX Staff asked 3 years ago

Explicit Intents used to call a specific component. When you know which component you want to launch and you do not want to give the user free control over which component to use. For example, you have an application that has 2 activities. Activity A and activity B. You want to launch activity B from activity A. In this case you define an explicit intent targeting activity B and then use it to directly call it.