I'm creating a app and want him to have his own custom soft keyboard by default, but I don't know how do this.
So far I have the app and a separate app for the keyboard, I tried to set the custom keyboard by default but don't managed to do that, the only way I found for enable him is via shell and enabling manually in the phone configuration, the shell command that I use:
ime enable package/appName
ime set package/appName
I tried to execute this commands via:
Runtime.getRuntime().exec();
Tried to put in the init files too, tried to substitute the default android keyboard, but nothing works.
If anyone can help me you have my thanks.