Tuesday 22 May 2012

How to open an URL in Browser Programmatically in Android

In Android using "android.content.Intent” (Intent) to open an specify URL in 
Android’s web browser.

Simple Source Code:
Intent browser_intent= new Intent(Intent.ACTION_VIEW, Uri.parse("http://androidsurya.blogspot.in/"));
startActivity(browser_intent);

No comments:

Post a Comment

Android SQLite Database Viewer or Debuging with Stetho

Every Android Developer uses SQLite Database to store data into the Android Application data. But to view the data in SQLite have a lot of...