You may want to look at CountDownTimer ... just a thought

http://helloandroidworld.com/2010/02/how-to-create-a-simple-android-countdown-timer/

I hope it helps ...

Hal - Intelligent Android Project


On Nov 17, 3:23 pm, ClarkBattle <[email protected]> wrote:
> I am implementing a type ahead search so that results are returned as
> the user is typing.  I want to have a timer so that the search is not
> sent to the server until the user stops typing.  "Stops typing" is
> defined by a number of milliseconds.  I figure that I can use a Timer
> to start the search in another thread.  If another type ahead
> character is received then I can restart the timer.  Is this a
> reasonable approach or is there a simpler way?
>
> Thanks

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