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 release APK crash with java.lang.AssertionError: impossible in java.lang.Enum(Android 发布 APK 因 java.lang.AssertionError 崩溃:在 java.lang.Enum 中不可能)
Finished with Non Zero Exit Value 3(以非零退出值 3 结束)
On gradle:3.0.0 More than one file was found with OS independent path #39;META-INF/ASL2.0#39;(在 gradle:3.0.0 上找到多个文件,其独立于操作系统的路径为“META-INF/ASL2.0)
Android : app loading library at runtime on Lollipop but not IceCreamSandwich(Android:运行时在 Lollipop 上而不是 IceCreamSandwich 上的应用程序加载库)
buildConfigField depending on flavor + buildType(buildConfigField 取决于风味 + buildType)
How do I suppress warnings when compiling an android library with gradle?(使用 gradle 编译 android 库时如何抑制警告?)