I'm looking is it possible to capture MotionEven data (pressure) on keyboard (in my app)? Or is there way to intercept all touches on screen in my app (something like full screen mode).
Asked
Active
Viewed 271 times
1 Answers
-1
Try it:
@Override
public boolean onTouchEvent(MotionEvent me) {
//for example
if (me.getAction() == MotionEvent.ACTION_UP) {
}
}

user1755546
- 1,049
- 2
- 13
- 27
-
1But that would capture only touches on that particular activity, not a keyboard touches (which overlay activity). – Michał Tajchert Aug 21 '13 at 13:38