I'm not sure if I made a mistake when I posted this, but it's currently only 
receiving .BATTERY_CHANGED events despite being registered for these events: 
-

<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
<action android:name="android.bluetooth.adapter.action.STATE_CHANGED" />
<action android:name="android.intent.action.AIRPLANE_MODE" />
<action android:name="android.net.wifi.WIFI_STATE_CHANGED" />
<action android:name="android.media.RINGER_MODE_CHANGED" />
<action android:name="sirocco.widget.NEW_WIDGET_INSTANCE_ADDED" />
<action android:name="android.intent.action.BATTERY_CHANGED" />

I normally send broadcast message (sirocco.widget.NEW_WIDGET_INSTANCE_ADDED) 
from the configuration activity when adding a new widget, but this is not 
received after APPWIDGET_DISABLED is received

I don't understand why only 1 type of broadcast message is received after 
all instances are removed (APPWIDGET_DISABLED then received) and a new 
instance is added.  I have double checked and the matchButtonToAction code 
is definitely called.

Could it be something to do with the context that is passed in?

Any pointers would be appreciated.
Thanks for your help
All the best,
Ash

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

Reply via email to