Load Webpage

From John Freier
Revision as of 16:47, 10 December 2010 by Jfreier (Talk | contribs) (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);')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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);