Open URL in android

1 vote · 0 comments

To open the url in android

raw ·
copy
· download
String url = "url"; Intent intent1 = new Intent(Intent.ACTION_VIEW); intent1.setData(Uri.parse(url)); startActivity(intent1);

Be the first to comment

Sign in with OpenID