In this simple tutorial you will learn to open a website URL in android web browser from your own android application programmatically. Opening any website URL in web browser from android app is very simple using android intent.
Following is the simple example where I have used a button in XML layout file to open a website (URL) when button is clicked from your android application.
Code to open a specify URL in android’s web browser using android.content.Intent from your own application.
Android Example: How to Open a URL in Android Browser from Your Application
XML Layout File
Java Activity File
Run your Open a URL in Android Browser from Application and click on the button to open URL in web browser.