On Mon, Oct 18, 2010 at 8:28 PM, Stakka <[email protected]> wrote:
> Thanks. I'll use a WakeLock in my IntentService.onHandleIntent.

You may wish to consider my WakefulIntentService pattern:

http://github.com/commonsguy/cwac-wakeful

It will help you avoid the case where the device falls asleep between
the startService() call and onHandleIntent() being called.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Warescription: Three Android Books, Plus Updates, One Low Price!

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