On Sat, May 23, 2009 at 12:50 PM, Michael Elsdörfer mich...@elsdoerfer.info
wrote:
From what I understand, a service must be used in any case to avoid ANR
when processing the request might take a bit longer.
Oh sure, if you are going to do some longer-running -continuous- work then
use a
Don't use a service; use the alarm manager to schedule your wakeup/work.
On Sat, May 23, 2009 at 9:38 AM, Michael Elsdörfer
mich...@elsdoerfer.infowrote:
I'm writing a widget that needs to update rather infrequently (say
multiple hours). Following the source examples out there, it seems the
Don't use a service; use the alarm manager to schedule your
wakeup/work.
Currently I'm actually using the widget framework's update mechanism.
From what I understand, a service must be used in any case to avoid ANR
when processing the request might take a bit longer.
The widget example
3 matches
Mail list logo