0
如何查找onTouch中的MotionEvent.ACTION_MOVE是否已经以圆周运动移动? 请帮忙MotionEvent.ACTION_MOVE正在向圆形方向移动
如何查找onTouch中的MotionEvent.ACTION_MOVE是否已经以圆周运动移动? 请帮忙MotionEvent.ACTION_MOVE正在向圆形方向移动
只有在MotionEvent.ACTION_MOVE中识别出一个圆才能工作太多。有一个包可以帮助你解决这个问题:android.gesture。
到这里看看:http://developer.android.com/reference/android/gesture/package-summary.html
您还可以检查包含在你的SDK的样本目录中的手势生成器示例应用程序。
拉尔斯·沃格尔有这个主题一个很好的教程:http://www.vogella.com/articles/AndroidGestures/article.html
希望有所帮助。
干杯