OnTouchListener,ACTION_UP火灾后自动30秒超时 [英] OnTouchListener, ACTION_UP fires automatically after 30 second timeout

查看:123
本文介绍了OnTouchListener,ACTION_UP火灾后自动30秒超时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要的用户可以长按一个按钮/ ImageView的很长一段时间(> 30秒)。 遗憾的是〜30秒后的ACTION_UP被自动触发。 你有任何想法如何,我可以prevent或绕过此事件,并持续追踪用户触摸?

I need the user to be able to touch and hold a button/imageview for a long time (> 30 seconds). unfortunately after ~30 seconds an ACTION_UP is fired automatically. Do you have any idea how i can prevent or bypass this event and keep tracking the users touch?

这是我的应用程序的控制至关重要。

This is essential for the control of my app.

推荐答案

至少在摩托罗拉Xoom,如张贴在<一个href="http://community.developer.motorola.com/t5/Android-App-Development-for/Spurious-ACTION-UP-Event-on-Motorola-Xoom-PLEASE-FIX/td-p/17683"相对=nofollow>摩托罗拉论坛,工程队似乎认为这个问题的功能。

At least for Motorola Xoom, as posted in Motorola Forum , Engineering team seems to consider this problem a feature.

有一个可能的解决方案有(对Xoom的),鸵鸟政策知道,如果工程。

There is a possible solution there(for Xoom), don´t know if works.

这篇关于OnTouchListener,ACTION_UP火灾后自动30秒超时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆