The AppWidgetManager has a set of Broadcasts that you can listen for... I'm
guessing the ones you would be interested in are ACTION_APPWIDGET_ENABLED
and ACTION_APPWIDGET_DISABLED.

http://developer.android.com/reference/android/appwidget/AppWidgetManager.html


----------------------------------------------------------------------
There are only 10 types of people in the world...
Those who know binary and those who don't.
----------------------------------------------------------------------


On Tue, Dec 1, 2009 at 10:45 PM, Jeffrey Blattman <
[email protected]> wrote:

>  is there a way to listen for the removal of a widget? i have a widget that
> updates itself via setting alarms. when the widget is removed, the service
> behind the widget continues to run. that's not what the user expects i
> think.
>
> any ideas are appreciated.
>
> --
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Beginners" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-beginners%[email protected]>
> 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 [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-beginners?hl=en

<<qr-gmail.png>>

Reply via email to