control ui

Post your questions and help other users.

Moderator: Martin

Post Reply
Ankit
Posts: 143
Joined: 11 Nov 2013 17:27

control ui

Post by Ankit » 26 Mar 2015 13:20

Click (x, y) not working in control ui

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

Re: control ui

Post by Martin » 26 Mar 2015 19:50

Hi,

Could you please provide some more details?
  • is the action just silently failing or does Automagic show an error?
  • is there anything written in the log when the action fails?
  • what kind of control are you trying to click (what app, screen, button)?
  • what device model are you using, what Android version?
  • are there any other apps active under system settings->Accessibility?
Regards,
Martin

Ankit
Posts: 143
Joined: 11 Nov 2013 17:27

Re: control ui

Post by Ankit » 27 Mar 2015 02:39

Hi
I opened an random image from gallery and I want to click on screen to show menu button.

http://automagic4android.com/flow.php?i ... cbc6c488eb


Actually I am making a flow to change lock screen wallpaper.

My android version is 4.4.2
ASUS ZenFone 5

Automatic is not showing any error.

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

Re: control ui

Post by Martin » 28 Mar 2015 11:46

Hi,

It's likely that the gallery does not support automating the user interface. Apps that rely heavily on graphics like games or browsers often don't provide the necessary information to Automagic to automate clicking on buttons. This might also be the case with the gallery of Asus. Unfortunately you can only automate UI interaction in such apps by using a rooted phone and an action like Execute Root Command: input tap x y (where x and y are the coordinates to simulate touch screen input).
Showing the menu could also work by using Execute Root Command: input keyevent MENU.
Unfortunately I don't have access to an ASUS device with Android 4.4 so I can not test this myself.

Regards,
Martin

Ankit
Posts: 143
Joined: 11 Nov 2013 17:27

Re: control ui

Post by Ankit » 29 Mar 2015 02:17

Thanks Martin......

Post Reply