Is there a way to get an onButtonDown or onButtonUp event for a soft
button (i.e. not a physical hardware button, but a button on the
screen)?  I have a button on the screen that I want the user to hold
down for X seconds.  To do this I need to capture the buttonDown and
buttonUp events separately.

I've tried onKeyUp/onKeyDown, but those only seem to fire for the
hardware buttons.  I've seen onLongClick, but that only seems to fire
if the button's held down for 1 second and I need to customize that.
Time to extend Button?

Thanks,

Bret

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