I have a requirement to run a task periodically after 24 hours and made use 
of *postDelayed 
**(Runnable<http://developer.android.com/reference/java/lang/Runnable.html> r, 
long delayMillis) *.

But this seems to fail since it never worked even for 4 hours. Now I have 
made use of Timer and TimerTask and used the api *schedule (TimerTask task, 
long delay). *This worked fine if the task was posted for 8 hours. My next 
experiment  was to schedule the task after 16 hours but even this seems to 
fail.

Is there any delay constraints in Android OS for scheduling a task? 

Thanks,
Tarak

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