I have a button whose WidgetProvider kicks off a service with a PendingIntent. That works just fine. How do I similarly attach an event handler to the button so that when it is pressed a second time, it shuts the service down? Is there an appropriate pattern to follow for something like this?
Thanks. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

