[SOLVED] Extension Suggestion: Hide System Keyboard

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 ?

1 Like

No it doesn’t.

There are two different blocks in my extension, hiding the text box under different situations. What block are you using?

1 Like

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.

1 Like

This hides the keyboard on Android 11 & 12 for me when touching in a Textbox with Companion.

grafik

2 Likes

I also used the same method.

But all that does is the same behaviour as this:

image

If I tap in the textbox, the keyboard comes up again

It does not doable the keyboard, it only hides the keyboard.

or this:
grafik

2 Likes

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)

7 Likes

This works as expected @MohamedTamer :slight_smile: Well done.
( a couple of typos in the blocks - Sytem instead of System)

1 Like

Can you provide an AIX download link so that I can test?

1 Like

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:

3 Likes

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 ).

7 Likes

@MohamedTamer Can you please tell us what method you have used

You can look to the source.

1 Like

@Taifun You can add this extension to the extension directory In Pura Vida Apps

1 Like