Android Question IME Keyboard not working in Activity Create Event

junaidahmed

Well-Known Member
Licensed User
Longtime User
I have used IME to show keyboard,it works fine when I used in button click event but its not working in "Activity_Create" event.Actually I would like to show keyboard when the application start....


B4X:
Sub Activity_Create(FirstTime As Boolean)
 
   Dim K As IME
   Activity.LoadLayout("FrmTodoMain")
   K.ShowKeyboard(TxtMessage)

End Sub

Note :-
where TxtMessge is EditText.
 
Last edited:

DonManfred

Expert
Licensed User
Longtime User
How often did you get told to use code tags when posting code?
5, 10, 20?
 
Upvote 0
Top