FAQS


How to open a url on browser from my application ?

Views: 1650  |   Date: 2013-08-31 06:11:45

Answer 1

Open url in an intent by Intent.ACTION_VIEW option.

Use This Code :

   
    String URL = "http://www.google.com";

    Uri uri = Uri.parse(URL);

    Intent intent = new Intent(Intent.ACTION_VIEW, uri);
    startActivity(intent);

 
Submit Your Answer
  |  
 
 
 

Preview :