Control UI issue I'm running into

Post your questions and help other users.

Moderator: Martin

Post Reply
User avatar
husky
Posts: 132
Joined: 29 Oct 2016 13:41
Location: Omaha, Nebraska, USA
Contact:

Control UI issue I'm running into

Post by husky » 30 Jun 2017 20:23

Hello,

ADDENDUM: After some more test, I figured out that CHECK + CLICK works as expected.
Not sure what CHECK does. Is it possible am explanation of what CHECK does in practical terms. Thanks.

I have an Automagic shortcut that points to a flow that should turn on/off the GPS in the settings by "pressing" the button from inside the Control UI.

When I run the flow directly from Automagic editor it works fine.

Without changing anything I run the flow directly from the shortcut. It simply does not work.

I tried options like:
1. Coordinates using developers option coordinates.
2. Coordinates as shown after CLICKING the text OFF or ON depending on what is the current status for the GPS.
3. CLICK(coord x, coord y) where x,y is the button itself.
4. Changed the numbers of seconds before going back();
5. I also tried using GESTURE instead of Info. Still not doing it.
6. Ran out of debugging ideas.

I simply do not understand why clicking the shortcut the flow stops setting the GPS status.
Note: This is being run on a Smasung Galaxy Tab S3.
Could be a Samsung issue?

Thak You for any ideas.

Husky
"Basic research is what I'm doing when I don't know what I'm doing"

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Control UI issue I'm running into

Post by Martin » 02 Jul 2017 13:33

Hi,

Clicking a shortcut on the launcher temporarily "shows" an invisible screen which likely has side effects on the entire accessibility features of Android. Using an action 'Sleep: 2s' before executing the action Control UI might fix the issue.
Check/uncheck are functions used to switch checkboxes to the desired state which is often better than to use click that just toggles the state back and forth. However the control element on screen has to support the check/uncheck-functions, otherwise the functions don't have any effect.

Regards,
Martin

User avatar
husky
Posts: 132
Joined: 29 Oct 2016 13:41
Location: Omaha, Nebraska, USA
Contact:

Re: Control UI issue I'm running into

Post by husky » 03 Jul 2017 17:16

Hello Martin,

I aimed at the dog and ended up shooting my own foot. I thought the Check was the "solution".

I'll place a 2 second sleep between the Launch and the Control UI.

Best Regards

Husky
"Basic research is what I'm doing when I don't know what I'm doing"

Post Reply