Page 1 of 1

Non root Keyboard set

Posted: 26 Mar 2014 01:40
by RKPHayes
I would like to change my keyboard input to Car Keyboard when the AppRadio app is activated and back to Samsung keyboard when the app is closed. I have a Note 3, non rooted AT&T. I have seen a post that it was going to be added but I cannot find the action for a non root. Please advise

Re: Non root Keyboard set

Posted: 26 Mar 2014 17:58
by Martin
Hi,

You could use an action Show Input Method Selector to show the keyboard selection and then wait for a short duration (1 second) and simulate input with action Control UI: click("KeyboardXYZ").

Flows could look like this:
Flow 1:
-trigger App Task Started: AppRadio
-action Show Input Method Selector
-action Sleep: 1s
-action Control UI: click("*Car*")

Flow 2:
-trigger App Task Ended: AppRadio
-action Show Input Method Selector
-action Sleep: 1s
-action Control UI: click("Samsung keyboard")

The exact name of the keyboard should be passed to the click action of Control UI otherwise Automagic can not find the correct one.

Regards,
Martin

Re: Non root Keyboard set

Posted: 27 Mar 2014 12:00
by RKPHayes
The app itself starts on boot, there is a notification on the status bar which shows one Icon for disconnected and another for connected. I found something to trigger when the main app is on the status bar, but no way of discerning on whether connected or disconnected. Is there a way of triggering on the status of the notification ie connectednor disconnected?

Re: Non root Keyboard set

Posted: 27 Mar 2014 17:16
by Martin
Trigger Notification on Statusbar Displayed passes variables title and notification_text to the executed flow which could be used to distinguish between the two cases. notification_text is not officially supported and might not work with all notifications.
Following condition could be used:
-trigger Notification on Statusbar Displayed
-condition Expression: contains(title, "connected")
-->true: -action when connected
-->false: -action when not connected