Kotlin Android Implicit IntentAndroid Implicit Intent invokes the component of another app to handle the request. It does not specify the component name specifically. For example, if we want to share data using Intent, it invokes the relevant component to fulfill the request. Kotlin Android Implicit Intent Example Invoking URLIn this example, we will invoke the URL using Implicit Intent clicking on Button. activity_main.xmlAdd the following code in activity_main.xml file. In this activity, we use a Button to invoke Intent. MainActivity.ktAdd the following code in the MainActivity.kt class. In this class, we are invoking the URL on clicking the button using Implicit Intent. To invoke this intent, we are passing the action type and URL. The startActivity() method is used to start the Intent. Output: Next Topic# |