Writing to EditText using gestures
2 answers
This question caught my attention because this is what I would like to do in the future for a non-English language. These are my thoughts:
Watch what other people have done
It helps to know what is possible, where to start and where to go. Here are a few things I've found:
- Google Handwrite
- WritePad Unfortunately does not look like openource but shows functions you could add
- Open source email recognition and
Other SO questions:
- Handwriting recognition API for Android apps
- How to write and read text from gesture input in android?
Start simple and gradually maintain more complex input
When I get to a complex topic like handwriting recognition, I try to break it down into a list of simple tasks. If one of the tasks is too difficult, then postpone this task again. Follow cyclical research, try a new idea and improve it.
My list to break down this project:
- learn how to do simple gesture detection ( tutorial 1 , tutorial 2 ) ( tutorial 3 from @ jmunoz's answer)
- create an app that recognizes individual letters separately
- put letters in words (maybe adding a letter after
MotionEvent.ACTION_UP
) - recognize whole written words (this is already possible in Chinese, I thought I had not seen it in English).
+3
source to share