What is the Automagic Premium Keyboard?

Post your questions and help other users.

Moderator: Martin

Post Reply
Econdoc
Posts: 153
Joined: 28 May 2016 20:06

What is the Automagic Premium Keyboard?

Post by Econdoc » 25 Sep 2017 14:54

I have enabled the Automagic Premium Keyboard and made it the default. When I edit a flow, I see no difference from my normal keyboard. What does this keyboard do?
Thanks

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

Re: What is the Automagic Premium Keyboard?

Post by Desmanto » 25 Sep 2017 16:14

It is mostly used (required) in Control UI action, where you need to use a normal keyboard to input the text. Here are 7 known Control UI function which utilize it. (From Control UI documentation)

1. Boolean sendKey(Number keyCode)
Simulates the specified key (Automagic input method required).

2. Boolean sendKey(String keyCodeName)
Simulates the specified key (Automagic input method required).

3. Boolean sendKey(String keyCodeName, String metaKey, ...)
Simulates the specified key with meta key state (Automagic input method required).

4. Boolean sendText(String text)
Sends the text to the focused component (Automagic input method required).

5. Boolean setText(String text)
Sets the text of the focused component (Automagic input method required).

6. Boolean setSelection(Number start, Number end)
Sets the selection of the focused component (Automagic input method required).

7. Boolean selectAll()
Selects the text of the focused component (Automagic input method required).
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