Page 1 of 1

control ui

Posted: 26 Mar 2015 13:20
by Ankit
Click (x, y) not working in control ui

Re: control ui

Posted: 26 Mar 2015 19:50
by Martin
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

Re: control ui

Posted: 27 Mar 2015 02:39
by Ankit
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.

Re: control ui

Posted: 28 Mar 2015 11:46
by Martin
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

Re: control ui

Posted: 29 Mar 2015 02:17
by Ankit
Thanks Martin......