Friday, March 27, 2015

(Tasker) How To Toggle Gps To High Accuracy When Opening Maps on Android no root

Tasker GPS High Accuracy maps no root android

Here's how i created a Tasker profile to turn GPS to high accuracy when Google Maps is open (or any other app) without having root:



what you need:
1- Tasker
2- Autoinput
3- No Root needed 

Steps:
1- From Tasker's profiles tab click on (+) ---> application and choose Google Maps (or whichever app you want)
2- In the Enter Task menu you'll choose New Task, for the name you can type in something indicative for example "Turn GPS ON"
3- Click on the (+) ---> Settings---> Location settings
4- Click (+) next to If and type AON next to the % sign to make it %AON , choose doesn't equal and in the value field type 1
5- Go back and click (+) --->Task---> wait ---> 1 second and repeat step 4
6-Go back and click (+) ----> plugin---> Autoinput--->action--->  the small pencil symbol next to configuration--->easy setup ---> close---> navigate to location settings ----> expand status bar---->click on add where it says selecting field ---> click on mode ----> choose accept from selected field---> choose tasker from recent apps when prompted---->select "element text: mode"---> select click"---> click the checkmark on the top right----> repeat step 4 
7- Go back and click (+) --->Task---> wait ---> 5 millisecond and repeat step 4
8- Go back and click (+) ----> plugin---> Autoinput--->action--->  the small pencil symbol next to configuration--->easy setup ---> close---> navigate to location settings ----> click on "mode"--->expand status bar---->click on "add" where it says selecting field ---> click on "High Accuracy" ----> choose accept from selected field---> choose Tasker from recent apps when prompted---->select "element text: High Accuracy"---> select click"---> click the check-mark on the top right----> repeat step 4 
9- Go back and click (+) ----> variables---> variable set---> in the name field type "%AON ----> in the to field type 1
10- Go back and click (+) ---->app---> launch app--->choose Google maps (or whichever app you want)
11- Go back and click (+) ----> task---> wait----> 20 seconds
12- Go back and click (+) ----> variables---> variable set---> in the name field type "%AON ----> in the to field type 2




Share/Bookmark

6 comments :

  1. Toggles on, but when I exit maps, it doesn't toggle off again. Leaves it on high accuracy. I wonder if there is some other program I am using that insists on high accuracy GPS. Any ideas?

    ReplyDelete
    Replies
    1. I am having the same problem it doesn't shut off High Accuracy, I wonder if it is because there is no way to shut down maps without forcing it to close. Or maybe we have to add an exit task? If you figure it out please reply back,

      Delete
    2. Hi, there is a solution. Export the task created above, then rename the original and re-import the task. In the imported task, edit the step 8 part which selects the GPS option and just select the other option instead. Then this task can be set as the exit task :)

      Delete
    3. Do you also need to change the AON variable for the exit task?

      Delete
  2. it worked fine for me (: THANKS ALOT MAN~~! SIDE NOTE: this only work if you have your GPS ON and it must be battery saving mode or something else or GPS ONLY then itll switch it. THIS WILL NOT TURN YOUR GPS ON IF ITS OFF

    ReplyDelete
    Replies
    1. I disagree! I have mine programmed so that once the phone is connected to my car bluetooth (instead of launching an app) it changes the GPS from battery saving to high accuracy then launches maps. Then, once the bluetooth disconnects it simply does the same sequence on an exit task but turning it back to battery saving then shows desktop. Easy.

      Though when you say "it will only work if you have your GPS on", are you meaning location settings??

      Delete