Android touchscreen devices can sense when the user touches the screen. They can also record the movement of the user’s finger across the screen. These movements or strokes are also known as gestures.
You can store a collection of gestures in a file and then match the user’s gesture with those in the file.
Our tutorial app lets the user write their name on the screen using their finger. We then compare this gesture to our saved gestures and display the result in a text view.