Hi, I guess some of you like to get a simple demo how to listen to gestures on Android.
I could write now a lot of code, but more simple, just DOWNLOAD the archive I made for you with a simple Demo Gesture APP. Its written under sdk 1.5 but also works in sdk 1.1
But anyhow… this could be very useful to know.
@Override
public boolean dispatchTouchEvent(MotionEvent me) {
gestureScanner.onTouchEvent(me);
return super.dispatchTouchEvent(me);
}
when you do that, the demo listener works also on buttons ! I was looking quit long for that to know.. but its all included in the demo.
greets
chris

Loading ...