安卓T9实体键盘输入法开发过程
InputMethodService
自定义Service继承InputMethodSerivce
配置文件如下 ,该应用即被声明为输入法,系统也就知道了。
<service
android:name=".IMEService"
android:label="@string/app_name"
android:permission="android.permission.BIND_INPUT_METHOD">
<intent-filter android:priority="1">
<action android:name="android.view.InputMethod" />
</intent-filter>
<meta-data
android:name="android.view.im"
android:resource="@xml/method" />
</service>
参考:http://www.cnblogs.com/carlo/p/4737523.html
参考:http://itindex.net/detail/53090-android-%E8%BE%93%E5%85%A5%E6%B3%95
参考:https://m.baidu.com/mip/c/m.cr173.com/mipw/19795.html