Created
October 6, 2011 12:46
-
-
Save gipi/1267311 to your computer and use it in GitHub Desktop.
To launch a web page in a browser from an activity
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://www.google.com")); | |
startActivity(browserIntent); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment