I have an application that works fine with android "original" default keyboard but has issues with some custom keyboards.
Is it possible to always pop-up the android "original" keyboard regardless the has user installed a custom keyboard?
I know the best way is to write my own keyboard class but currently I don't have the time and I need a quick fix.
Thanks.
Related
I would like to know if my idea is possible and to get some insights into how I could achieve that.
My idea: implement my app widget into the Android Keyboard (OnePlus 7) like in the following pictures:
Android Keyboard Widget
Widgets View
Cheers!
There is no Android keyboard. They keyboard is an app. Not every OEM ships with the same keyboard app. Even of those that do, these apps are, by and large, not customizable. And that's ignoring the fact that the user can download entirely different keyboard apps from the play store.
I want to open the Android Keyboard in Speaking mode by default programmatically when I focus on editText.
I know android:inputType="voice" is in enhancement, is there
another way?
I don't want to use SpeechRecognizer because the difference with the one used by default in Android keyboard is that it works offline.
I loaded the android Sample code for Softkeyboard onto my Nexus. It shows me the option of picking the Soft KeyBoard Service under settings->language->keyboard. I select the new service and also a language, but when i go to the web browser and focus on the url field I get the same system keyboard popping up, nothing different. Has anyone tried the sample project and got a different looking keyboard? Is there something I'm missing when running the apk?
Have you checked available input methods? Just touch and hold on any text field (<4.0) or open notification bar and choose input method while keyboard is opened.
I thought about implementing kind of a meta-soft-keyboard for android that first checks if a physical keyboard is connected (in my case a dock but bluetooth kbds should also be possible) and launches a specific other soft-keyboard if there isn't.
So:
Is there a way to get a list of all installed keyboards using the android API?
/edit: This seems to be possible using the InputMethodManager
Can I then call a specific one of these keyboards?
If there is no API solution, can it possibly be done on rooted phones/tablets?
Or do I have to implement my own full keyboard solution (or possibly fork/improve an existing open source one) that just doesn't pop up when there's a physical kbd connected)?
For those having similar troubles:
The best work-around solution I found so far is using the NULL keyboard and the Dock keyboard switcher apps. But the NULL keyboard currently only supports the english layout and the constant keyboard switcher popup gets kind of annoying... (IMO it's almost easier to just hide the keyboard everytime it appears)
Seems like it can be done by public boolean switchToNextInputMethod (IBinder imeToken, boolean onlyCurrentIme), but I don't know is it switching permanently or only for one time and this method is added only in Jelly Bean.
I am developing an Android application. What I find most annoying during testing is, that the emulator always pops up that on-screen telephone keyboard whenever I click into a text input field. Since I input my data with the keyboard anyway I find that most annoying. Can one switch that on-screen keyboard appearance off? Or can one change that so that it at least presents a mini-qwerty keyboard as my actual device does, not that old-fashioned T9 keyboard?
Michael
You can disable the virtual keyboard in Settings->Language.
If you change orientation of the emulator it won't popup (KEYPAD_7, Ctrl-F11).
If you use cursor keys instead of clicking the fields, probably won't popup either.
Whatever you do, keep in mind that in actual devices it usually pops up anyway.