If you are interested in making your own Soft Keyboard in android, then this tutorial will be helpful for you. Below are few steps to learn how to create your own Soft Keyboard that can serve as your own default keyboard.
Step1: To enter a text Input Editor Method(IEM) is used in android. BIND_INPUT_METHOD permission into application tag is used to connect our service with the IME.
AndroidManifest.xml
- <service
- android:name=".CustomSoftKeyboard"
- android:label="CustomSoftKeyboard"
- android:permission="android.permission.BIND_INPUT_METHOD">
- <intent-filter>
- <action android:name="android.view.InputMethod" />
- </intent-filter>
- <meta-data
- android:name="android.view.im"
- android:resource="@xml/method" />
- </service>
No comments:
Post a Comment