Android:HTC 渴望的软键盘控制

Android: softkeyboard control on HTC desire(Android:HTC 渴望的软键盘控制)

本文介绍了Android:HTC 渴望的软键盘控制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想要一个数字键盘,它有一个关闭和执行计算类的执行或完成按钮.感谢 commonware 关于从哪里开始的提示,我在模拟器上完美地工作了.然后我开始将它加载到我的 HTC 测试愿望中,它根本不起作用.我敢肯定这一定是因为 HTC 感觉拥有自己的 ime,但肯定有办法在 HTC 手机上进行这项工作?还有其他人设法解决了这个问题吗?

I wanted a numeric keypad that had a go or done button that closed and executed a calculation class. Thanks to a tip from commonware on where to start I got this working beautifully on the emulator. Then I came to load it on to my HTC desire for testing and it doesn't work at all. I'm sure it must be because of HTC sense having it's own ime but there must surely be a way to make this work on HTC phones? Anyone else managed to get around this issue?

推荐答案

我可以复制我认为您在 HTC Incredible 上看到的内容.

I can replicate what I think you are seeing on the HTC Incredible.

并非所有软键盘都支持 IME 操作按钮.有些,如 Graffiti 软键盘",可能根本没有按钮,更不用说 IME 操作按钮了.甚至 兼容性定义文档 也没有提到要求键盘提供这样的操作按钮设备.

Not all soft keyboards will support the IME action button. Some, like the Graffiti soft "keyboard", may have no buttons at all, let alone an IME action button. Even the Compatibility Definition Document says nothing about requiring such an action button for the keyboards supplied with a device.

因此,您不应依赖 IME 操作按钮.如果它在那里,用户可以使用它.然而,无论你的目标是什么,总是有一些其他的方法来完成.

Hence, you should not rely on the IME action button. If it is there, users can use it. However, always have some other means of accomplishing whatever your goal is.

这篇关于Android:HTC 渴望的软键盘控制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本文标题为:Android:HTC 渴望的软键盘控制

基础教程推荐