You could have the AppWidget start an activity that is styled to look like an AlertDialog.... I may be wrong, but I don't think it is possible to make it actually display an AlertDialog.
Or, you could make the AppWidget start an Activity that does nothing except display a dialog... If you give the Activity the right theme then the user would never know that anything happened other than a dialog was displayed. ---------------------------------------------------------------------- There are only 10 types of people in the world... Those who know binary and those who don't. ---------------------------------------------------------------------- On Sat, Nov 14, 2009 at 10:54 AM, eclipsed4utoo <ryanalford...@gmail.com>wrote: > Is it possible use the AlertDialog from an AppWidget? I have code > that works from an Activity, but when I copy that code to work when a > widget is clicked, I get an error that it has stopped unexpectedly. > > Is it possible? or do I need to do something different? I want to > display an option box to allow the user to choose from a few options. > > -- > You received this message because you are subscribed to the Google > Groups "Android Beginners" group. > To post to this group, send email to android-beginners@googlegroups.com > To unsubscribe from this group, send email to > android-beginners+unsubscr...@googlegroups.com<android-beginners%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en