我试图在 HTC One M10 上同时检测三个手指。没有对任何此类案件提出动议。
case MotionEvent.ACTION_DOWN: return "Down";
case MotionEvent.ACTION_MOVE: return "Move";
case MotionEvent.ACTION_POINTER_DOWN: return "Pointer Down";
case MotionEvent.ACTION_UP: return "Up";
case MotionEvent.ACTION_POINTER_UP: return "Pointer Up";
case MotionEvent.ACTION_OUTSIDE: return "Outside";
case MotionEvent.ACTION_CANCEL: return "Cancel";
Run Code Online (Sandbox Code Playgroud)
我下载了一些应用程序,它们也无法同时检测到 3 个,但它们识别出了两个。如果动作不叫,我怎么能只认出两个。谢谢。
更新再次破解后,MotionEvent.ACTION_MOVE 没有调用。我能做什么?
假设我想在我的应用程序中使用缩放图像视图可以在支持多点触控(API 7+)的手机上添加多点触控事件监听器,而在较旧的手机上显示缩放按钮?
这可以在单个版本的应用程序中完成,还是需要多个应用程序版本和多个APK?