Difference between revisions of "Load Webpage"

From John Freier
Jump to: navigation, search
(Created page with 'This will open a url in the browser. String url = "url"; Intent intent1 = new Intent(Intent.ACTION_VIEW); intent1.setData(Uri.parse(url)); startActivity(intent1);')
(No difference)

Revision as of 15:47, 10 December 2010

This will open a url in the browser.


String url = "url";   
Intent intent1 = new Intent(Intent.ACTION_VIEW);  
intent1.setData(Uri.parse(url));  
startActivity(intent1);