android - Open settings screen to activate input method -


i have written custom input method (soft keyboard). can check whether it's enabled or not based on this post. if it's enabled (but not current ime) can call imemanager.showinputmethodpicker(); displays list of enabled imes user can pick mine.

however, if ime not enabled in system settings, rather take user directly system settnigs screen can enable ime (i remember swiftkey after installing).

how can open specific settings screen?

you can open android settings. use below code

import android.provider.settings;  ctx.startactivity(new intent(settings.action_input_method_settings)); 

Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -