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);')
 
 
Line 1: Line 1:
 
This will open a url in the browser.
 
This will open a url in the browser.
 
  
 
  String url = "url";   
 
  String url = "url";   

Latest revision as of 16: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);