I have developed a simple extension that should perform the expected behavior. Can you please confirm weather it works?
This is a test project:
hidesystemkeyboard.aia (1.8 MB)
This works as expected @mohamed_tamer Well done.
( a couple of typos in the blocks -
Sytem instead of
Can you provide an AIX download link so that I can test?
Thanks for spotting this! I have now fixed these typos and updated the blocks description.
io.mohamed.hidesystemkeyboard.aix (1.8 MB)
Wait…doesn’t the ReadOnly property of the TextBox disable showing the keyboard?
Yes, It would indeed. But it would also disable the ability to use the cursor and select the text, etc.. ( without showing the keyboard ).
@mohamed_tamer Can you please tell us what method you have used
You can look to the source.
@Taifun You can add this extension to the extension directory In Pura Vida Apps
@mohamed_tamer you are changing the input type of the TextBox in this source code I think it will not work properly when the TextBox is accepting only number I mean NumberOnly TextBox.
An issue is there, when I click the textbox it still shows up the keyboard
with @mohamed_tamer's extension
What shouldn't work properly. For me it works as expected (Android 12).
Works OK for me too if NumbersOnly is checked. However, without intervention a user can then input numbers and letters, because the numbersOnly checkbox sets the soft keyboard to display, not a restriction on what can actually be entered. The developer would need to include a content check (isNumber?) before each character is entered from their custom keyboard, if only numbers are wanted.
Show your relevant blocks, and method for disabling keyboard.
Why don't you disable the keyboard when the screen initializes?
Why do you need to set a clock?
that is one of my attempts for the textbox