Either: 1) Override the onTouch event in your custom view class (if you have one) or 2) Use the setOnTouchListener method of your view to set your own Touch Listener.
Take a look at the Handling UI events: http://www.google.co.uk/url?sa=t&source=web&cd=1&ved=0CBUQFjAA&url=http%3A%2F%2Fdeveloper.android.com%2Fguide%2Ftopics%2Fui%2Fui-events.html&ei=9gdGTJjvFIaM0gTdy_i3BA&usg=AFQjCNEEd_wP7hVreUyxSKU0osYXcvCPnw&sig2=0C-ioyqaZ66ukdVlJfa4VA and the View.onTouchListener http://developer.android.com/reference/android/view/View.OnTouchListener.html On Jul 20, 7:21 pm, Rohit Ghatol <[email protected]> wrote: > Hi All, > I haven't spend much time on Gesture Detector or anything of that > sort. > > My requirement is very simple, Given a View (any view), how do I > detect triple tap on that? > > Of course a timer and a counter can help me, but I am looking for > something more sophisticated that that. > > For people, you are wondering, why I need triple tap, I am introducing > a hack screen in an application (which I am porting from IPhone and > IPhone does it that way, so I have to do it :)) > Cheers, > Rohit -- 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

