Hi, This is for an application listening to both single and double tap events. Android's GestureDetector has a 300 ms [1] timeout to distinguish betweens single and double taps. If the second tap has not occurred for 300ms, onSingleTapConfirmed is called [2].
Whats the best way to reduce this timeout to something lesser, say 200ms? I looked at the code and found that GestureDetector posts and empty message to be delivered after 300ms. And onSingleTapConfirmed() is called when that message is delivered to GestureDetector's handler. Would I be able to post the same message but with a lesser delay from my gesture detector's onTouchEvent method? Thanks. [1]: http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/2.3.5_r1/android/view/ViewConfiguration.java#ViewConfiguration.0DOUBLE_TAP_TIMEOUT [2]: http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/2.3.5_r1/android/view/GestureDetector.java#271 -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en