开发者

Pen input in Android tablet

I want to use p开发者_开发问答en in android tablet . I use pen and want to write text with pen. How can I develop the android application to be accept only pen input in EditText . Can I use pen in emulator ? Is there any usable API for this .?


As far as I know, only HTC supports a pen on some their android tablets (please someone correct me if I'm wrong, I may not be up-to-date on these things). Their pen can be used concurrently while you're touching the device because their screen can tell the difference between your finger and their special pen.

Here is a link to their pen api

http://www.htcdev.com/devcenter/tablet-pen

(free registration with their site is required I believe)

I believe they have an HTC SDK you can download with the AVD manager, but I just don't know if it comes with a special emulator for their pen api -- I haven't tried it yet.

Also other android tablets/phones can be used with pens, even if they're technically not made to support pens (but those pens are just special styluses that emulate the capacitive touch of your finger), so with those devices, the screen can not tell the difference between your fingers and that pen (so you can not assign them different functions which is definitely not as good).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜