poeschlorn poeschlorn - 1 year ago 121
Android Question

Sending an Intent to browser to open specific URL

I'm just wondering how to fire up an Intent to the phone's browser to open an specific URL and display it.

Can someone please give me a hint?

Answer Source

To open a URL/website you do the following:

String url = "http://www.example.com";
Intent i = new Intent(Intent.ACTION_VIEW);

Here's the documentation of Intent.ACTION_VIEW.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download