Answers for "android open url on browser"

2

open link in android studio

Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://www.google.com"));
startActivity(browserIntent);
Posted by: Guest on April-05-2020
0

open website from android activity

Intent intent = new Intent(Intent.ACTION_VIEW).setData(Uri.parse("http://www.stackoverflow.com"));      
startActivity(intent);
Posted by: Guest on August-16-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language