Re: [android-developers] Re: Internal Data Storage and WakeLock
On Mon, Oct 18, 2010 at 8:28 PM, Stakka <henrik.lindqvist@gmail.com> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home