press key enter / search ? automagic keyboard ?

Post your questions and help other users.

Moderator: Martin

Post Reply
joeko
Posts: 34
Joined: 17 Jan 2017 19:21

press key enter / search ? automagic keyboard ?

Post by joeko » 19 Aug 2019 11:06

hallo,
i try to press key enter or search in an app. first i tried it with the ui but than i cant see the Keyboard.
than i read that i can use the automagic Keyboard. i activate it but than … nothing. i cant see it an the ui also not.
i use an Pixel 2 with Android 9. is this a bug or have i forget something?

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: press key enter / search ? automagic keyboard ?

Post by Desmanto » 19 Aug 2019 11:33

Automagic keyboard is to be used with Control UI, especially sendKey(). It is invisible. After you have changed the keyboard to Automagic, add another action Control UI

Code: Select all

sendKey("SEARCH");
sleep(100);
sendKey("ENTER");
Pay attention to the sleep, try and error, as it might affect the result.

Most of our automation will require to change the keyboard to automagic, do the control UI script, then changed back to default keyboard. You need root or at least write secure permission from adb to use the change keyboard action automatically.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

Post Reply