Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
将读卡器用于将连接到安卓设备的 POS 系统。插入时似乎禁用了android软件键盘。
有没有办法定义是否禁用/启用每个控件的android键盘或绕过android软键盘被禁用的方法?
谢谢,
W
((InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE)) .showSoftInput(editText, 0);
以上强制软键盘可见。祝你好运