How to access Letter Recognizer API in Android?
I would look at the code on this page:
http://www.anddev.org/gesture_recognizer_and_character_recognition-t2998.html
He says the source code for his character recognizer is in the SVN, too. You might find some helpful tidbits.