Trigger to detect that the virtual keyboard is shown

Post your questions and help other users.

Moderator: Martin

Post Reply
User avatar
AMChris
Posts: 42
Joined: 22 Oct 2014 08:39

Trigger to detect that the virtual keyboard is shown

Post by AMChris » 03 Jun 2019 06:59

Hi,

I wrote a flow that shows a widget every time the keyboard is active/shown.
In the past I have used a notification that appeared on my LG G4. But my new mobile phone doesn't show any special notification.

=> So, do you know any trigger that I can use to detect, that the virtual keyboard is shown?
(I tried "App Task started" but that didn't work).

Thanks for your help.
Chris

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

Re: Trigger to detect that the virtual keyboard is shown

Post by Desmanto » 03 Jun 2019 07:58

Try trigger UI Event, Window opened, package name choose your keyboard app. Other field leave blank. You can also try to tap on any field to show the keyboard. Then tap recent event, choose the keyboard event. Automagic accessibility services must be enabled.
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.

User avatar
AMChris
Posts: 42
Joined: 22 Oct 2014 08:39

Re: Trigger to detect that the virtual keyboard is shown

Post by AMChris » 04 Jun 2019 08:14

Thanks - that worked :D

Post Reply