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
Brenton,
I'm having a sense of deja vu, but here again are some points about
timers in Android.
A Java Timer / TimerTask is not really good for an Android application:
- TimerTasks are invoked on a background thread, this creates an
inconvenience if you need to touch the UI, since UI
2 matches
Mail list logo