Gestures

Post your questions and help other users.

Moderator: Martin

Post Reply
ariloc
Posts: 109
Joined: 05 Jun 2016 21:36

Gestures

Post by ariloc » 30 Sep 2016 15:50

I want to use some gestures on my home screen without installing any other app. I supposed I could do it with Automagic.

I think I can use an UI Event action on my TouchWiz launcher in my Samsung device. But I don't how to use it.

Can I get it with Automagic? How do I do?

Sorry for my incomprehensible English.

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

Re: Gestures

Post by Martin » 30 Sep 2016 19:09

Hi,

You can use action Control UI to simulate some actions like clicking a button etc. It's not exactly the same as making manual touch screen input since it uses an accessibility service to simulate the actions so it's limited to a few functions like clicking.
What kind of action do you want to simulate on the home screen?

Regards,
Martin

ariloc
Posts: 109
Joined: 05 Jun 2016 21:36

Re: Gestures

Post by ariloc » 30 Sep 2016 21:44

I want to simulate a double tap in the background to lock the device.

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

Re: Gestures

Post by Martin » 01 Oct 2016 05:28

That's most likely not supported by Control UI since this will require to simulate the tap directly on the touch screen which is not supported by Control UI. It might work on Android 7 and the next version of Automagic, but I have not tested this particular case.
You could also try to turn off the screen with action Lock Device but the device might not behave exactly the same when the screen is turned off using this action.

Regards,
Martin

ariloc
Posts: 109
Joined: 05 Jun 2016 21:36

Re: Gestures

Post by ariloc » 01 Oct 2016 11:01

Therefore, I will be looking to another solution. Anyway, thank you for your help!

User avatar
MURTUMA
Posts: 697
Joined: 05 Mar 2013 22:43

Re: Gestures

Post by MURTUMA » 01 Oct 2016 19:33

Is your device rooted? If so, you may be able to do that with action Execute root command: input tap <x> <y>; input tap <x> <y>. Use the same coordinates for both commands.

ariloc
Posts: 109
Joined: 05 Jun 2016 21:36

Re: Gestures

Post by ariloc » 01 Oct 2016 22:26

No, I'm not. I will be thinking about doing it so I will solve lots of problems I have. Thank you for your help.

ariloc
Posts: 109
Joined: 05 Jun 2016 21:36

Re: Gestures

Post by ariloc » 14 Nov 2016 18:52

I found an app that allows me to double tap the home screen. Maybe the developer can jump into its code and if it isn't difficult, it can be a new feature.

Here's the link: https://play.google.com/store/apps/deta ... pscreenoff

Post Reply