Android Question Tracking "_ontouch" when a users finger goes off screen

JohnK

Active Member
Licensed User
Longtime User
I have been able to track a users movement and actions on the screen using the "_Touch (Action As Int, X As Float, Y As Float)" of a panel. However, things don't work so well when a finger goes rapidly off screen. I do not see an event for this action, so the last thing my app see's is an "Activity.ACTION_MOVE", and then nothing until they either touch back on the screen or move back on.

Is there anyway to trap the action of the user going off the screen? Otherwise, I leave a line on the screen showing that they have dragged to this last known position, until they touch back on the screen. Just doesn't look the best. I would prefer to know it has happened at the exact moment it occurs, and update my display accordingly.

The only thing I can think of is having a thin panel at the edge of the screen to sense that they have gotten too close, but if they are moving fast, I think this panel probably would never get an event either.

Any thoughts? am I missing something?
 
Top