[Tasker Tips & Tricks] fenchai:
REQUIREMENTS?

TASKER

PHONE WITH PROXIMITY SENSOR

NO ROOT REQUIRED

COMMON SENSE

WHAT Does this do?

This will basically change your music tracks (previous and next) by waving your hand

HOW does it do it?

You hand activates the Proximity sensor (be sure to locate yours before trying this lol) Then it goes into the details by detecting if your hand is still hanging in there, if your hand is not there, it will change to the next track, if your hand is still holding up, it will Rewind the song, do it again and it will change to the previous song.

WHEN do you want to use this?

On Car, You are driving, want to change tracks while driving? well just wave your hand instead of even looking at your phone. (ok you look a bit but you get the idea) No more accidents, looks cool when you do it in front of your newbie friends, yeah go ahead and tell them to do it with their iPhones XD Just remember to paste your phone into a place you can reach or use one of those universal phone holders.

On some desktop for whatever reason you dont have a computer or cant play songs on your pc? Activate this with Bluetooth see magic with a wave of your hands

You want to see the magic and how futuristic it is when you wave and the machine speaks back to you :D

OK, Lets get Started

Create a Profile, (name it to Prox=1) Select State, Select Proximity Sensor

Task>Variable Set>Name: %Prox to covered

Create Another Profile, (name it to Prox=0)Select State, Select Proximity Sensor But This Time Check on Invert

Task>Variable>Set>Name: %Prox to uncovered

Create Another Profile(name it to Prev and Next), Select State, Select Proximity Sensor

wait (515MS) <---This is an Important Factor on this project, this determines how long your hand should stay in the proximity sensor, the shorter the wait, the faster it will trigger, change as required.

if %Prox ~ uncovered & %SCREEN ~ off

Say: "Next" (Customize the way you like it or just leave it as if)

Media Control Next on App Poweamp (The App "Poweramp" can be changed to the Music App you are using)

Else If %Prox ~ covered & %SCREEN ~ off

Say "Back" (Again, You can customize the voice etc. or.. just dont)

Media Control Previous App Poweramp ( Again, you choose the Music App or else it wont work)

End If

Now you will need to create a Task, Name it to Track Changer Yes.

The Task should contain

Profile Status>name Prox=1 Set On

Profile Status>name Prox=0 Set On

Profile Status>name Prev and Next Set On

Set Tasker Pref>Proximity Sensor Value Yes

What the Above does is to just Activate your Profiles, so that it just works.

If you want to Deactivate those Profiles do another Task, Name the Task to Track Changer No.

The Task should contain

Profile Status>name Prox=1 Set Off

Profile Status>name Prox=0 Set Off

Profile Status>name Prev and Next Set Off

Set Tasker Pref>Proximity Sensor Value when Power Connected

This will deactivate the task and you are back to 0 :)

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

If I knew how to make Pictures Appear in the Post (I don't) This would have been easier for you but since life is tough and you need to experience this there you go.

If you need more details look at this Album http://imgur.com/a/eXcch

BTW: To Make this work you need to activate all 3 Profiles, Prox=0, Prox=1 and Prev Next. The Task "Track Changer Yes" will Activate it for you, useful if you activate this task via Bluetooth, Heaphones, etc. You can make a Scene pop when you connect headphones, etc your ideas are your limitation.

If you struggle in some place, look at the tasks and see if any of them has a triangle error in there. Make sure you change the music app on all 2 action tasks! (previous, next)