用户登录
用户注册

分享至

Android:HTC 渴望的软键盘控制

  • 作者: 孤狼丶丶丶丶
  • 来源: 51数据库
  • 2023-02-09

问题描述

我想要一个数字键盘,它有一个关闭和执行计算类的执行或完成按钮.感谢 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.

软件
前端设计
程序设计
Java相关