This question already has an answer here:
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?
This question already has an answer here:
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?
In some cases URL may start with "www". In this case you will get an exception:
The URL must always start with "http://" or "https://" so I use this snipped of code:
Sending an Intent to Browser to open specific URL:
could be changed to a short code version ...
or
or even more short!
More info about Intent
=)
The shortest version.