Start web browser with URL in android

Uri address = Uri.parse("http://w3mentor.com");
Intent surf = new Intent(Intent.ACTION_VIEW, address);
startActivity(surf);

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.