Re: [android-developers] Handlers and Timers never works for 24 hours task
I dont want to unsubscribe from you, that was wrong I clicked on the wrong link and I thought that would fix my facebook...sorry...but it keeps saying (null) thread cannot be recieved on everything facebook...thank you...but I need to know what to do??
OldJim <junderwood@ipass.com> wrote:
>Mark,
>
>Why should he not do that? Are you saying that the Android Delayed Message
>is not reliable? I would like to know where that limitation is documented.
>
>thanks,
>JIm
>
>On Sunday, March 18, 2012 3:27:16 PM UTC-7, Mark Murphy (a Commons Guy)
>wrote:
>>
>> > I have a requirement to run a task periodically after 24 hours and made
>> use
>> > of postDelayed (Runnable r, long delayMillis) .
>>
>> Do not do that. Use AlarmManager for periodic tasks like this.
>>
>> --
>> Mark Murphy (a Commons Guy)
>> http://commonsware.com | http://github.com/commonsguy
>> http://commonsware.com/blog | http://twitter.com/commonsguy
>>
>> _Android Programming Tutorials_ Version 4.1 Available!
>>
>>
>
>--
>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
--
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