How to add your own custom IME in the Select Input Method dialog box

I would like to show my own IME in the dialog box for selecting an input selection method, for example, Japanese IME and Chinese IME. How can i do this?

I am new to Android. I checked the Greek IME and other IMEs. Although .apk successfully downloaded. But he can not show in it how to choose your own IME from this place.

What do I need to do in my code?

+4
source share
2 answers

You probably need to activate the installed keyboards before you can select them in the "Input Method" menu. To do this, you need to open "Settings" β†’ "Language" and "Keyboard" and in this menu check the keyboard that you would like to use. This should probably lead to your GreekIME starting up.

Now for encoding your own soft keyboard there is an example that comes with the Android SDK. You can find it in <Andoid SDK Base>/samples/SoftKeyboard . The process is a little poorly documented, but when you get an example and work, you can come up with an example a bit and you have to hang it.

+2
source

Good entry on developer.android.com on-screen input methods

In part ...
What is an input method?

The Android IMF is designed to support a variety of IMEs, including a soft keyboard, handwriting recognition, and hard keyboard translators. However, we will focus on soft keyboards , as this is an input method that is currently part of the platform.

0
source

All Articles