I am creating a widget that uses a service to retrieve an arrayList of
items.  I wanted the widget to flip through these items it retrieved
about every 10 secs.  In addition I wanted the widget to go our and
retrieve a new set of these items on a daily basis.

So what I have done was create two different alarm managers.  One that
sets an alarm every 10 secs and will update the remote view to the
next item.  The other alarm was setup for just after midnight the next
day - this will retrieve the next set of items.

The problem with this solution is that the RTC alarm set for ever 10
secs is going to drain the heck out of a users battery.  It doesn't
appear to sleep much if at all - probably because something else is
using the cpu keeping it awake.

How can I achieve this cycling of items that is already download
automatically?  If you are familiar with the google reader widget,
this is what I am trying to achieve.

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