I want to capture the touch events on Android wear (I am using Samsung Gear Live) to draw the trajectory of touch. I tried to capture onTouch event and onGenericMotionEvent even
If you want to debug offline you can get the touch co-ordinates from adb:-
adb shell getevent
Can you try using only:
container.setOnTouchListener(new View.OnTouchListener() {
and return true from there? You need to inform the View you consumed the event.
return true
View