The regular 'call TextBox HideKeyboard' allows the system keyboard to pop-up again if the Text Box text is tapped and selected for editing. If the App has it's own bespoke Keyboard, the system keyboard needs to be hidden until the App code allows it to again be triggered by event.
@ChrisWard I checked the code of the current version of TextBox.HideKeyboard
and I got the idea of what we need to change if any beginner extension developers are not able to do this then I will do it by tonight.
I was interested. But I am not good at making extensions . But I'll sure try
I tried but it doesn't work. So I cannot develop it today.
I wrote the code but only compilation need so once I will go to home I will publish it.
and this will hide the keyboard until the user/code asks for the keyboard to be available again ?
I have found these two
myTextBox.setEditable(false);
myTextBox.setDisable(true);
Is anyone is correct? @preetvadaliya
No it just anable and disable the view we need to control input method.
You can try the existing code of HideKeyboard block check main app inventor source for that.
In the code there is one flag for different different types of disable option like
Implicit
Force fully etc..
So we just need to handle it using flag, flags are defined in InputMethodManager class of android.
Hi still I have not received at home I am attaching source code of extension please compile it and published it.
KeyboardHandler.txt (4.0 KB)
I will need to convert to RUSH compiler...
You're welcome!
I am not a man though, as my age is 10
Job done then :).....
Hmmm, just tested in companion, on Android 12, I tried every flag, but the keyboard appears for each one