title: Comparing gestures/images in Android
body: <p>What would be the best way to compare a gesture made on an Android device's screen with a stored gesture?  For example, if in my application, I want it so that if I draw a triangle with my finger, the screen will turn blue, and if I draw a circle, the screen will turn red, how could that be done?  The only thing I have been able to think of so far is to somehow generate an image file and then compare that to an image of a triangle or circle and check for similarities.  But that wouldn't really account for different sized shapes or offset ones.  Any ideas on how this could be implemented?  Thanks!</p>