Reputation: 7717
Is there a library for Android to do pattern matching against gestures? For example, how to detect that the user swiped a square, a circle, a heart or a star?
Where can I post this question if StackOverflow is not the right place?
Upvotes: 3
Views: 914
Reputation: 2606
I don't know if it's the best way to do it, but Android has a built-in functionality for this: GestureOverlayView. Basically it's a View
which can be drawn over other one, and it can recognize previously defined gestures. Google Gesture Search uses this for example.
Upvotes: 1