Open URL/Website from android
Here is a small piece of code to open a URL/Website from your application, place it on your class that has startActivity function, for example your class that extends Activity
Hope this helps.
String url = "http://almondmendoza.com/android-applications/";
Intent i = new Intent(Intent.ACTION_VIEW);
i.setData(Uri.parse(url));
startActivity(i);
Hope this helps.
No comments: