‫Implicit intents are used to perform actions that can involve components from other applications.
‫You specify the action you want to perform, and the Android system finds the appropriate component
‫to handle that action.
‫Suppose you want to open a web page using the device's web browser.
‫So for that I'll create a new function here.
‫Name it as open web page, and in this function I'll start writing the code that allows us to go to
‫the the to the Google website web page equal to Uri dot parse.
‫And here I set in Android a Uri uniform resource identifier is a compact string representation used
‫to identify a resource such as a file content or web address.
‫It's a way to uniquely identify resources and provides a standardized format for addressing resources
‫across different applications and components.
‫So think about it as a string that contains this URL.
‫Now I'll start with the intent class.
‫Intent instance, which is named as intent like this.
‫And here I'll set new intent and despite using destination now I'll use the intent class dot.
‫I can see there are a lot of things I can do.
‫Text process, text and so on.
‫Action, airplay mode, all caps, all answer I need to use action underscore view because I need to
‫view and go to the browser that it is in the device.
‫I need to view the web page.
‫Then I'll use start activity and use intent.
‫So maybe you are wondering what it is the action of view in the intent class.
‫Action view is a predefined constant used as an action in the intent class.
‫It's typically used to indicate that you want to view the content specified by a Uri or resource.
‫When you create an intent with the action, view action and provide a Uri, the system will try to find
‫an appropriate component to handle the action, such as opening a web page, displaying an image or
‫playing a video.
‫In this case, the system will search for a web browser that can open this Uri, which is a form web
‫page.
‫One last thing I need to add is a button here in the main activity that allows us to open this web page.
‫Now let's move to the Oncreate method here and initialize the button.
‫Number two BTN to equal to new or sorry find view by ID or id dot open browser BTN two dot set on click
‫listener New view and I'll call the method open web page.
‫If you have any error like this, just make a clean project.
‫Run the project.
‫And this is our application.
‫I'll click on go to Google Button and you can see that I'm directed to the Chrome browser and you can
‫see that Google is up and.