Am I missing something?
There is this:
public boolean onTouchEvent (MotionEvent event)
I use it on Activity
. It does fire on "touch" events but NOT on a potential "untouch" event (releasing the finger).
Am I missing something?
There is this:
public boolean onTouchEvent (MotionEvent event)
I use it on Activity
. It does fire on "touch" events but NOT on a potential "untouch" event (releasing the finger).
Sorry, I should have search further...
It does the trick: How to get a continuous Touch Event?
More exact, in my case:
if (event.getAction() == MotionEvent.ACTION_UP) {
// here we have the "untouch" event
}