简体   繁体   中英

Android automatich Touch Event

When a touch_down is detected in android, a touch_up is automatically fired after a while (the time is depending on the hardware) I guess this is for security reason. In my app, on touch_up events, some actions are done, and I would like NOT to do them on these automatic touch_up events.

Do you know : - if it is possible to get rid of them (the OS not sending them to my view) ? - or do you have an idea to detect that an action_up is from this kind (automatic) and not actually from the user really lifting his finger ?

thanks

AFter discussion with a developer from Motorola, the problem comes from Motorola. They implemented something on top of the android framework to prevent touch event to be stuck. ... There is nothing that can be done about that ...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM