[android-developers] Know if your widget is on the homescreen

2010-06-24 Thread Albert
Hi there, Is there a way to know if there is an instance of your widget currently on the homescreen? I always end up using variables that change state with onUpdate() and onDeleted() calls, but that obviously that isn't effective in every scenario. Thanks in advance Alberto -- You received

Re: [android-developers] Know if your widget is on the homescreen

2010-06-24 Thread Mark Murphy
On Thu, Jun 24, 2010 at 1:17 PM, Albert albert8...@googlemail.com wrote: Is there a way to know if there is an instance of your widget currently on the homescreen? The AppWidgetProvider is notified on every add and remove operation, along with first-add and last-remove operations. Or, you can