onKeyDown中的键码错误字符

时间:2018-11-19 16:24:32

标签: android android-studio

当我在onKeyDown(int keyCode,KeyEvent event)事件中收到类似abc@def.com的电子邮件地址时,将返回abC2def.com。有了这段代码

message +=(char)event.getUnicodeChar();

在此先感谢

0 个答案:

没有答案