如何查找 onTouch 中的 MotionEvent.ACTION_MOVE 是否已进行圆周运动?请帮忙
问问题
361 次
1 回答
2
Recognizing a circle only with MotionEvent.ACTION_MOVE is too much work. There is a package that helps you in that issue: android.gesture.
Take a look here: http://developer.android.com/reference/android/gesture/package-summary.html
You can also check the Gestures Builder sample app included in the samples directory of your SDK.
Lars Vogel has a nice tutorial in this topic: http://www.vogella.com/articles/AndroidGestures/article.html
Hope that helps.
Cheers
于 2013-07-09T06:22:40.960 回答