InputMethodManager is a service that applications can use to interact with system keyboards. Editors such as EditText also use it to indirectly notify change keyboards (for example, updateSelection ).
I can get a link to InputMethodManager , like this
InputMethodManager imm = (InputMethodManager) context.getSystemService(Context.INPUT_METHOD_SERVICE);
My problem is that it looks like system keyboards. Can I use InputMethodManager for a custom keyboard in an application ? If it were only for one isolated application, I would not care, but I include the user keyboard in the library, which will be used in many applications. I need a standard way for editors to interact with the keyboard.
Do I have to write my own input method manager or is there a way to use the standard InputMethodManager with my user keyboard in the application?
Update
Here are some tips on how I could implement my own input method manager if I cannot use the standard one.
android keyboard custom-keyboard inputmethodmanager
Suragch
source share