[android-developers] Re: Need help with part of an app.. countdown

2009-12-16 Thread SteelJ0ker
Ok so I've been able to get the timer some what functional using a timer and handler. Only problem I am having is when I run it in the emulator the seconds are ticking down by 2 and have some delay here and there. I've tried playing with some numbers but all I've been able to change is instead of c

Re: [android-developers] Re: Need help with part of an app.. countdown

2009-12-05 Thread Justin Giles
Or, you could do something like this: http://dewful.com/?tag=basic-android-timer It works wonders. In the onTick method is where you can update your textview with the new information. On Sat, Dec 5, 2009 at 2:56 AM, Dexter's Brain wrote: > > This is fairly simple I guess... > > You have a te

[android-developers] Re: Need help with part of an app.. countdown

2009-12-05 Thread Dexter's Brain
This is fairly simple I guess... You have a textview with the time displayed. Run an thread that sleeps for a second and then increments this time. And from a callback from the thread, on the UI update the value of the text view -- You received this message because you are subscribed to the G