Drawing numbers into a panel?
I was wondering if there was already a component available which 开发者_如何学编程the user could use the touchscreen to draw numbers into. If not, I was considering an openGL panel which their input would draw onto, and then I'd need some algorithm to interpret the drawing and parse it to a number.
Obviously, I'd prefer a component already exist, but am always up for a coding challenge :)
An OpenGL component to display the strokes onto the screen should be relatively straightforward. The handwriting recognition won't be, you should probably try to reuse some existing handwriting recognition software, which you may have to port to Android (note that this is NOT "parsing" and also that recognition from pen input where the order and continuity of the strokes are known should be much more accurate than OCRing the ink-ed image)
Built-in Android keyboard? Or I didn't understand a question?
As of right now, an existing paint component does not exist.
精彩评论