I followed these two exemples of developer.android (Creating an Input Method, Soft Keyboard sample). Think everything is correct, but the custom keyboard dont shows up.
Sorry but i dont understand the code, how i call this new keyboard?
thanks for all.
You can open the "Change input method" menu programatically like this:
InputMethodManager mgr =
(InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);
if (mgr != null) {
mgr.showInputMethodPicker();
}
You may also want to open "Language & Input settings" so your users can enable your input method. You can do that like this:
startActivityForResult(
new Intent(android.provider.Settings.ACTION_INPUT_METHOD_SETTINGS), 0);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With