On Sun, Mar 18, 2012 at 3:07 PM, Tarak <tsri...@ipass.com> 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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to