Hi,
I use an AlarmManager to refresh my widget view (the view not the data
displayed which are managed by the standard updatePeriodMillis).
The AlarmManager is configured to work with RTC. The documentation
indicates :
Set the alarm type to either ELAPSED_REALTIME or RTC, which will only
deliver
Override onStartCommand() or onStart() in your AppWidgetProvider and
figure out what Intent is being used to update the AppWidgetProvider.
That should help you narrow down the source (your alarm or the
built-in updatePeriodMillis alarm).
On Sat, Oct 9, 2010 at 10:45 AM, arnouf
2Mark:
Ummm. AppWidgetProvider is a subclass of BroadcastReceiver, not
Service. As such, it has no onStartCommand or onStart.
You're probably thinking of onReceive - ditto for that.
2Arnouf:
Another reason might be that something else is keeping the device awake.
Might be worthwhile
3 matches
Mail list logo