How can I open a URL in Android’s web browser from my application?

How to open an URL from code in the built-in web browser rather than within my application? I tried this: try { Intent myIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(download_link)); startActivity(myIntent); } catch (ActivityNotFoundException e) { Toast.makeText(this, “No application can handle this request.” + ” Please install a webbrowser”, Toast.LENGTH_LONG).show(); e.printStackTrace(); } but I got an Exception: … Read more