开发者

How to add own custom IME at Select Input method dialog

开发者 https://www.devze.com 2023-01-13 18:02 出处:网络
I\'d开发者_开发知识库 like to show my own IME in the Select input method chooser dialog like the Japanese IME and the Chinese IME. How can I do that?

I'd开发者_开发知识库 like to show my own IME in the Select input method chooser dialog like the Japanese IME and the Chinese IME. How can I do that?

I am new to Android. I have tested Greek IME and other IME. Although .apk is successfully uploaded. But can't show in it and how to choose own IME from this place.

What do I need to do in my code?


You probably need to activate the installed keyboards before you can select them in the Input Method menu. For this you need to open Settings -> Language & Keyboard and in this menu check the keyboards you would like to use. This probably should get your GreekIME running.

Now for coding your own soft keyboard, there is an example which is delivered with the Android SDK. You can find it in <Andoid SDK Base>/samples/SoftKeyboard. The process is a bit poorly documented, but when you get the example up and running you can start to tweak the example a bit and you should get the hang of it.


Nice writeup about Onscreen Input Methods from developer.android.com

In part ...
What is an input method?

The Android IMF is designed to support a variety of IMEs, including soft keyboard, hand-writing recognizers, and hard keyboard translators. Our focus, however, will be on soft keyboards, since this is the kind of input method that is currently part of the platform.

0

精彩评论

暂无评论...
验证码 换一张
取 消