Click in android 4.0.4

Post your questions and help other users.

Moderator: Martin

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

Click in android 4.0.4

Post by Ankit » 26 Apr 2014 12:29

Hi
Control UI dont not works on android 4.0.4

Is there an alternative for an rooted device??

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

Re: Click in android 4.0.4

Post by Martin » 28 Apr 2014 18:54

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

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

Re: Click in android 4.0.4

Post by Ankit » 29 Apr 2014 03:29

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.

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

Re: Click in android 4.0.4

Post by Martin » 29 Apr 2014 17:31

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

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

Re: Click in android 4.0.4

Post by Ankit » 30 Apr 2014 01:54

Thanx martin
Its working!!!

Post Reply