Consider using AlarmManager.

On 23 дек, 01:54, optimusgeek <[email protected]> wrote:
> I use CountDownTimer for counting 24hours with 1minute interval.
> but It seems that the onTick() not called when device in deep sleep.
> When I check the millisUntilFinished value after activating device,
> The value was not match first but after few seconds, It show correct
> value.
> I think, when device in deep sleep, handle message from CountDownTimer
> delayed, and if device activated, the last message of CountDownTimer
> sent.
> and after that the millisUntilFinished value is updated.
>
> Any solution for it? I have to use the CountDownTimer, because I need
> to get the millisUntilFinished value in every 1 minute.

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