Open the settings screen to activate the input method.

I wrote a special input method (soft keyboard). I can check if this is enabled or not based on this post . Now, if it is turned on (but not the current IME), I can call imeManager.showInputMethodPicker();which displays a list of allowed IMEs so that the user can select mine.

However, if my IME is not enabled in the system settings, I would rather take the user directly to the system settings screen so that he can enable my IME (I remember that Swiftkey does this after installation).

How to open the special settings screen?

+5
source share
1 answer

You can open the Android settings. Use below code

import android.provider.Settings; 
ctx.startActivity(new Intent(Settings.ACTION_INPUT_METHOD_SETTINGS));
+11
source

All Articles