Add Snippet |
To open the url in android
raw · copy · downloadString url = "url"; Intent intent1 = new Intent(Intent.ACTION_VIEW); intent1.setData(Uri.parse(url)); startActivity(intent1);
Preview
Editors
Tags
Related Snippets
Check for Updates Once a Day
WebView: Activate JavaScript and Open Links Inside
Post a tweet on Twitter
Gallery widget with remote Images
Enable and Disable WiFi
Non-Blocking Web-Request
Be the first to comment