I'm trying to write an egg timer application.  Here's what I have:

* An Activity that has the UI for adding timer and displaying time
remaining
* A Service that has a Timer/TimerTask which controls the countdown

When I set a really long time, say nine hours and go to bed, somewhere
in the night something cancels the timer. According the the
Applications menu the app is still "running" and the Running Services
shows that the Service is still running, but the Timer is no longer
sending "ticks." I've put Logs all over every function to see if
something's getting called, but nothing does!

What cancels Timer/TimerTasks? How do you keep them running in
services?

I've tried using a partial WakeLock, but it failed.

Brenton

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