Android: softkeyboard control on HTC desire(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 渴望的软键盘控制
基础教程推荐
- UIWebView 委托方法 shouldStartLoadWithRequest:在 WKWebView 中等效? 2022-01-01
- 如何在 iPhone 上显示来自 API 的 HTML 文本? 2022-01-01
- Kivy Buildozer 无法构建 apk,命令失败:./distribute.sh -m “kivy"d 2022-01-01
- android 应用程序已发布,但在 google play 中找不到 2022-01-01
- 在 gmail 中为 ios 应用程序检索朋友的朋友 2022-01-01
- Android:对话框关闭而不调用关闭 2022-01-01
- 如何在没有IB的情况下将2个按钮添加到右侧的UINavigationbar? 2022-01-01
- 如何在 UIImageView 中异步加载图像? 2022-01-01
- 当从同一个组件调用时,两个 IBAction 触发的顺序是什么? 2022-01-01
- 如何让对象对 Cocos2D 中的触摸做出反应? 2022-01-01