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 渴望的软键盘控制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

How to target newer versions in .gitlab-ci.yml using auto devops (java 11 instead of 8 and Android 31 instead of 29)(如何在.gitlab-ci.yml中使用自动开发工具(Java 11而不是8,Android 31而不是29)瞄准较新的版本)
Android + coreLibraryDesugaring: which Java 11 APIs can I expect to work?(Android+core LibraryDesugering:我可以期待哪些Java 11API能够工作?)
How to render something in an if statement React Native(如何在If语句中呈现某些内容Reaction Native)
How can I sync two flatList scroll position in react native(如何在本机Reaction中同步两个平面列表滚动位置)
Using Firebase Firestore in offline only mode(在仅脱机模式下使用Firebase FiRestore)
Crash on Google Play Pre-Launch Report: java.lang.NoSuchMethodError(Google Play发布前崩溃报告:java.lang.NoSuchMethodError)