http://news.wangmeng.cn/detailNews/2616-android-development-of-a-simple-description-of-the-input
创建一个输入法,必须继承android.inputmethodservice.InputMethodService,它作为一个服务,监听所有EditText的事件。
看一个AndroidManifest.xml文件的示例:
01.
<
manifest
xmlns:android
=
"http://schemas.android.com/apk/res/android"
02.
package
=
"com.example.fastinput"
>
03.
04.
<
application
android:label
=
"@string/app_label"
>
05.
06.
<!--
Declares the input method service -->
07.
<
service
android:name
=
"FastInputIME"
08.
android:label
=
"@string/fast_input_label"