Mike Lanin wrote:
> I've tried, but couldn't find anything. Is there any way to determine
> that the key is longpressed?

Try KeyEvent#getDownTime() and KeyEvent#getEventTime(), to measure the
delta between when the key was pushed down and the current event.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Looking for Android opportunties? http://wiki.andmob.org/hado

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