I'm trying to make a flow to dial a pin once I've called a specific number. The Control UI click is too fast & longclick does nothing.
Nexus 5 4.4.4 (using ART)
longclick not working
Moderator: Martin
Re: longclick not working
Maybe the user interface does not allow other apps to invoke the long-click without real user interaction. I would like to reproduce this one, could you please explain in more detail which control you want to long-click under what circumstance?
Re: longclick not working
Hi Martin,
Thanks for the reply.
My flow is triggered by a call to voicemail, there is a 5 second sleep then a control UI action to dial the PIN. If I use click the numbers get dialed but the tones are too brief to register with my carrier's IVR. If I use longclick, nothing happens.
Thanks for the reply.
My flow is triggered by a call to voicemail, there is a 5 second sleep then a control UI action to dial the PIN. If I use click the numbers get dialed but the tones are too brief to register with my carrier's IVR. If I use longclick, nothing happens.
Last edited by Serum_114 on 24 Sep 2014 11:43, edited 1 time in total.
Re: longclick not working
Sorry, I didn't say:
It's the stock 4.4.4 dialer. I'm using click("5") or longclick("5").
It's the stock 4.4.4 dialer. I'm using click("5") or longclick("5").
Re: longclick not working
I was able to reproduce it. The dialer only supports the regular click action for tools that use the accessibility service. There's nothing I can do about it in Automagic.
If your device is rooted, you could try to use action Execute Root Command: input swipe <x1> <y1> <x2> <y2> <duration in ms>, for example Execute Root Command: input swipe 500 700 500 700 1000 (untested).
If your device is rooted, you could try to use action Execute Root Command: input swipe <x1> <y1> <x2> <y2> <duration in ms>, for example Execute Root Command: input swipe 500 700 500 700 1000 (untested).
Re: longclick not working
Thanks for looking into it Martin.
I don't think I'll be trying swipe as having to adjust the flow if the dialer's layout moves up or down - not to mention finding the coordinates in the first place - defeats the extreme lazyness of this flow.
I don't think I'll be trying swipe as having to adjust the flow if the dialer's layout moves up or down - not to mention finding the coordinates in the first place - defeats the extreme lazyness of this flow.