1

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).

java.is.for.desktop
  • 10,748
  • 12
  • 69
  • 103

2 Answers2

2

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
}
Community
  • 1
  • 1
java.is.for.desktop
  • 10,748
  • 12
  • 69
  • 103
1

Are you talking about ACTION_UP?

woodshy
  • 4,085
  • 3
  • 22
  • 21