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.
@AyProductions are you interested in it?
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 ?
yes @TIMAI2 thats what the topic says
May I can try once creating this extension?@preetvadaliya
I have found these two
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
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)
@TIMAI2 sir can you please compile it for me, it would be great help for me.
I will need to convert to RUSH compiler...
Here, I compiled it for you: KeyboardHandler.aix (7.3 KB)
@AyProductions thank you man.
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
I don't know about that as I did not modify or read @preetvadaliya's code