Page 1 of 1
Click in android 4.0.4
Posted: 26 Apr 2014 12:29
by Ankit
Hi
Control UI dont not works on android 4.0.4
Is there an alternative for an rooted device??
Re: Click in android 4.0.4
Posted: 28 Apr 2014 18:54
by Martin
Hi,
On a rooted device you can use action
Execute Root Command with command
input tap x y and
input text abcd and some more commands (depending on ROM).
Please also check out this page for some examples:
DIY-Actions: Execute Command, Execute Root Command.
Regards,
Martin
Re: Click in android 4.0.4
Posted: 29 Apr 2014 03:29
by Ankit
Hi martin
It is not working....
29.04.2014 08:57:19.021 [Flow1] Starting to execute flow 'Flow1' with Context{global{global_mode=Normal,global_battery_level=100,global_vibrate=off,global_screen=on,global_turnoffscreen=off,global_free_ram=186},local{flow_name=Flow1,trigger='Shortcut: ssss',triggertime=1398742039013}}
29.04.2014 08:57:19.022 [Flow1] Start executing action 'Execute Root Command: input tap 438 726 in '
29.04.2014 08:57:21.248 [Flow1] Action 'Execute Root Command: input tap 438 726 in ' stdout=
29.04.2014 08:57:21.249 [Flow1] Action 'Execute Root Command: input tap 438 726 in ' stderr=Error: Unknown command: tap
usage: input [text|keyevent]
input text <string>
input keyevent <event_code>
29.04.2014 08:57:21.249 [Flow1] Action 'Execute Root Command: input tap 438 726 in ' exit_code=0
29.04.2014 08:57:21.250 [Flow1] End executing action 'Execute Root Command: input tap 438 726 in '
29.04.2014 08:57:21.251 [Flow1] Flow ended.
Re: Click in android 4.0.4
Posted: 29 Apr 2014 17:31
by Martin
Hi,
Pity, seems that
input tap is not available on your ROM.
If the control element allows to be selected using DPAD actions, you could use a number of
input keyevent 20 and other
DPAD commands to select the button and then press using
input keyevent 23 (DPAD_CENTER).
Regards,
Martin
Re: Click in android 4.0.4
Posted: 30 Apr 2014 01:54
by Ankit
Thanx martin
Its working!!!