I do something similar...

onLongClick -> Start a thread/timer
in Timer/Thread -> increment value, reschedule timer
onTouchListener.OnTouch() -> detect MotionEvent.ACTION_UP and stop the
timer

Hope that helps, sounds like you're on the right track.




On Jul 13, 5:48 am, Kris Skarbø <[email protected]> wrote:
> Thanks for the response. But I forgot to mention the part that:
> I want the numeric to increase, say 1 value pr 1/2 sec, while I hold
> down the button.

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