it would be better to merge
@TIMAI2 i guess android 12 for some reason restricts that? or maybe i think we need to ask for a permission!! which i dont know...
or we may have to build the apk and then test it!
Your extension (if it worked for me) does not appear to have an escape
block, in order to return keyboard functionality ?
No it doesn’t.
There are two different blocks in my extension, hiding the text box under different situations. What block are you using?
Tried both. Neither works. Also compiled my test app, same issue.
Perhaps show me your working blocks....
That’s strange - the method wasn’t deprecated on Android 12. I will try to figure out the issue.
This hides the keyboard on Android 11 & 12 for me when touching in a Textbox with Companion.
But all that does is the same behaviour as this:
If I tap in the textbox, the keyboard comes up again
It does not doable the keyboard, it only hides the keyboard.
or this:
Hello,
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 @MohamedTamer Well done.
( a couple of typos in the blocks - Sytem
instead of System
)
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.
Extension:
io.mohamed.hidesystemkeyboard.aix (1.8 MB)
Source Code:
Wait…doesn’t the ReadOnly property of the TextBox disable showing the keyboard?
A quick fix to reduce the extension's size.
Updated extension:
io.mohamed.hidesystemkeyboard.aix (4.2 KB)
Thanks @TIMAI2
Yes, It would indeed. But it would also disable the ability to use the cursor and select the text, etc.. ( without showing the keyboard ).
You can look to the source.