In my application, I have the TextEdit for which I want to control virtual keyboard language (input method subtype). As far as I know, it is impossible to force the virtual keyboard to show up with the specific language selected or even get current keyboard language reliably.
But I was thinking about such solution when the application at some point stores some unique id of the current keyboard (without knowing which input language is currently used) and then at some point restores this keyboard using previously stored id. Of course, I do not want to create system application or to implement my own keyboard
Is such API exists in Android SDK?