How do I bring up the input method selector dialog via API?

NeoTechni

Well-Known Member
Licensed User
Longtime User
I don't use any text boxes in my app, but I want to bring up the dialog cause thats how you support game controllers better
 

NeoTechni

Well-Known Member
Licensed User
Longtime User
Figured it out:

B4X:
Sub InputMethodSelector
   Dim Obj1 As Reflector
   Obj1.Target = Obj1.GetContext
   Obj1.Target = Obj1.RunMethod2("getSystemService", "input_method", "java.lang.String")
   Obj1.RunMethod("showInputMethodPicker")
End Sub
 
Last edited:
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…