Open URL/Website from android

Public on April 11, 2009
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

String url = "";
Intent i = new Intent(Intent.ACTION_VIEW);

Hope this helps.

[Advertising]Faster Thinking - Speed up your brain

Faster Thinking Game

sentiment_satisfied Emoticon