【发布时间】:2011-06-14 07:41:48
【问题描述】:
例如,向编辑文本控件发送退格键以删除字符或发送 112 之类的字符代码以编程方式在编辑文本控件中附加字符。
其实我需要这样的方法
void onKeyReceived(int keyCode)
{
// here I would like to append the keyCode to EditText, I know how to add a visible character, but what about some special keys, like arrow key, backspace key.
}
【问题讨论】:
标签: java android android-edittext