On Tue, Jan 3, 2012 at 2:34 AM, RyanE <viros1...@gmail.com> wrote:
> context.startActivity( new Intent( Intent.ACTION_VIEW,
> Uri.parse( "http://www.google.com"; ) ) );
>
>
> I usually launch the web like this in my app.
>
> However, it doesn't work on AppWidget.

Yes, it does. You might have to add FLAG_ACTIVITY_NEW_TASK to the
Intent, but you can definitely launch a Web browser from an app widget
via a PendingIntent.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training...At Your Office: http://commonsware.com/training

-- 
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