I am building app in android, but this is an algorithmic question so everyone can help.
I want somehow to detect when my user draw Z latter with their finger.
I been trying to calculate the slope of the user between the last two points and track his changes to know when he start drawing new line. But it is not good enough.
Any ideas how can it be done?
You could use the GestureBuilder.