Hi all !
This is my first post in this forum and also a newbie to this app.I want to achieve the before things using flows,
** Simply I want achieve the air gesture for gallery app same like in Note 3.
** And also simulate swipe gesture in gallery when I wave my hand over galkery.
Is this possible to achieve using Automagic, will u guys plz gimme a idea about that ?
Thanks in Advance !!!
Simulate air gesture from left to right or vice versa ?
Moderator: Martin
-
- Posts: 4
- Joined: 04 Mar 2015 15:13
Re: Simulate air gesture from left to right or vice versa ?
Hi,
What's the 'air gesture'? Waving your hand over the proximity sensor? If yes, you could use the trigger Proximity Sensor.
Simulating a swipe gesture requires a rooted device. You could do this with an action Execute Root Command: input swipe <x1> <y1> <x2> <y2> where <x1> etc. have to be replaced with the coordinates on screen.
Regards,
Martin
What's the 'air gesture'? Waving your hand over the proximity sensor? If yes, you could use the trigger Proximity Sensor.
Simulating a swipe gesture requires a rooted device. You could do this with an action Execute Root Command: input swipe <x1> <y1> <x2> <y2> where <x1> etc. have to be replaced with the coordinates on screen.
Regards,
Martin
-
- Posts: 4
- Joined: 04 Mar 2015 15:13
Re: Simulate air gesture from left to right or vice versa ?
Thanks for your reply Martin !!
But i want to specifically find the direction of hand gesture. To be clear what i want to achieve is,
** If I wave my hand left to right over sensor i want to do one task and right to left to do another task.
I hope i explained my point clear. Sorry for my English, my Mother tongue is not English
Edit 1 : I tried the swipe root command, but i seems little slower than manual swipe. Is there any way to speed it up
Edit 2 : I don't know Automagic supports to find direction of Air Gestures / Hand Gesture for now. But I found a library which find the direction of Hand gesture. I am just post this link to share my knowledge regarding this feature,
http://www.nanocritical.com/nanogest/api/android.html
But Martin, if Automagic dont have the above feature right now, plz plz keep in mind to add this in feature updates. Thanks in Advance
BTW, I love this app very much
Keep up the good work 
But i want to specifically find the direction of hand gesture. To be clear what i want to achieve is,
** If I wave my hand left to right over sensor i want to do one task and right to left to do another task.
I hope i explained my point clear. Sorry for my English, my Mother tongue is not English

Edit 1 : I tried the swipe root command, but i seems little slower than manual swipe. Is there any way to speed it up

Edit 2 : I don't know Automagic supports to find direction of Air Gestures / Hand Gesture for now. But I found a library which find the direction of Hand gesture. I am just post this link to share my knowledge regarding this feature,
http://www.nanocritical.com/nanogest/api/android.html
But Martin, if Automagic dont have the above feature right now, plz plz keep in mind to add this in feature updates. Thanks in Advance

BTW, I love this app very much


Re: Simulate air gesture from left to right or vice versa ?
Thanks
I'm glad you like Automagic!
I see, then the proximity sensor won't work for this case. An additional trigger could be added that constantly records a video using the front camera but this would likely consume quite a lot of battery. Thanks for the link to the library.
It's certainly possible to add such a trigger but I fear that the list of features that have been requested is already very long so it might take a while until I get a chance to look into this feature.
Some devices support an additional parameter that can be passed to the swipe command:
input swipe <x1> <y1> <x2> <y2> [duration(ms)]
Executing action Execute Root Command: input should print the possible commands and options in the log of Automagic.
Regards,
Martin

I see, then the proximity sensor won't work for this case. An additional trigger could be added that constantly records a video using the front camera but this would likely consume quite a lot of battery. Thanks for the link to the library.
It's certainly possible to add such a trigger but I fear that the list of features that have been requested is already very long so it might take a while until I get a chance to look into this feature.
Some devices support an additional parameter that can be passed to the swipe command:
input swipe <x1> <y1> <x2> <y2> [duration(ms)]
Executing action Execute Root Command: input should print the possible commands and options in the log of Automagic.
Regards,
Martin
-
- Posts: 4
- Joined: 04 Mar 2015 15:13
Re: Simulate air gesture from left to right or vice versa ?
Thanks for your reply man. U the real MVP
I am quite sad bcoz its not possible to add this feature for now
But I hope surely one day in future u will consider this feature 


