开发者

Text Entry on an Android Custom View

I'm dealing with a phone that has no physical keyboard and 开发者_开发问答I'm using my own custom view for rendering. The device I'm working with, by default, seems to be in a T9 type entry mode where it suggests blocks of text. However, it never sends me the actual key events.

How do I tell whatever soft-keyboard that pops up to enter 'dumb' key event sending mode?

The InputMethodManager has a "isAcceptinText()" call which would tell me if it's in event-sending mode, but not a method to set it. Digging through the documentation hasn't produced any insight. How do I tell the input manager that I only want key events?


I think this page has pretty much all there is to say on Android Input method control: Android - Onscreen Input Methods

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜