Chris Behrends • over 8 years ago
Convert S Pen input into String
Is it possible to convert S Pen input on a canvas into a string? I want to be able to read characters and numbers that the user writes. It appears none of the 6 examples do this so I was wondering if it was possible. I tried using the getTextInfos() but it returns a size of zero. I also tried to change the mode of the Canvas to TEXT_MODE but when I do that my test app blows up saying it can not find the Text Box. I see references to creating a Text Box in the documentation so I tried creating a Test Box but get ClassCastExceptions. Anyone know if this is possible and if so mind sharing some code?
Comments are closed.