系统注入中文
* 主要通过反射调用类的隐藏方法;
* 通过反射获取InputMethodManager 中 系统service IInputMethodManager的实例,
*
* 在通过getInputContext获取IInputContext的实例,这个类是输入法与输入的组件的联系接口
* 调用其commitText方法就可以将文字输入到当前获得焦点的组件中。
*
* 真正响应执行commitText的类是EditableInputConnection
*
*
* 说明:调用系统servcie中的IInputContext,能保证此IInputContext是系统当前在接受相应的实例;
* 而InputMethodManager中的mServedInputConnection 只是当进程的实例,只能对本进程内起作用。
转自 http://blog.csdn.net/zhanghw0917/article/details/8891381