On 25 Jan., 04:32, Breezy <mbre...@gmail.com> wrote:

> Which said to use this...
>     Intent i = new Intent(Intent.VIEW_ACTION, 
> Uri.parse("http://www.cnn.com";));
>     startActivity(i);

Something seems to be wrong with the Uri.parse ..
this worked for me:

String url = "http://www.google.com";;
Intent i = new Intent(Intent.ACTION_VIEW);
i.setData(Uri.parse(url));
startActivity(i);

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to