1. Are you ready for the Galaxy S20? Here is everything we know so far!

Turning on gps

Discussion in 'Android Apps & Games' started by esbark, Jun 26, 2017.

  1. esbark

    esbark Lurker
    Thread Starter

    My first post.....

    Found tasker on the net and downloaded it..lovely

    Sorted out my first task nicely and I am now turning off my WiFi as soon as I leave the vicinity of the nearest cell tower...lovely

    So now I want an app on my phone to turn on gps when I am away from home.....ah...problem..gps is a system function so your tutorials tell me to use a plugin called secure settings...I am rooted but this app .or to be more precise a part of it called system + cannot see root.so won't allow me to proceed..surely. Everyone using tasker with system setting must have encountered this ?

    Can anyone help. Please ??
     



    1. Download the Forums for Android™ app!


      Download

       
  2. esbark

    esbark Lurker
    Thread Starter

    No I hadnt seen that. I SUSPECT that I may have tried a similar method without success however I will try it now and see what happens. Thanks for your answer
     
  3. esbark

    esbark Lurker
    Thread Starter

    Thom
    This is actually the way i was trying to go and it illustrates my problem. securesettings will not ask for su permissions so it believes that I am unrouted and so denies me permission to mess with the system settings. Any other approaches ? Reading other posts seem to indicate not using securesettings because it does not get updated.
    An alternative approach which i am contemplating would be for me to simply create a task which flashes up a warning on my screen to switch on "device only " rather than the "high accuracy" setting on the phone.
     
  4. Maybe you can use the AutoInput plugin to toggle Location?

    ... Thom
     
  5. esbark

    esbark Lurker
    Thread Starter

    Thom
    I have tried to get secure systems plugin working and discovered that if i use tasker on my nexus 10 tablet running android 5.11 ( lollipop ) then the plugin recognises root fine and allows me to turn gps on. I am therefore going to do some more work learning tasker on the tablet before reverting to my current problem with the phone and trying your Autoinput suggestion. i will report later on my progress..
     
  6. The AutoInput approach ...

    The advantage would be an un-rooted approach. It would call up the system dialogs and then respond to them as needed.

    The drawback is that the dialogs change from version to version. The second drawback is that you would see the dialogs while the processing was going on.

    ... Thom
     
    buathonghadchaiyapom likes this.

Tasker

Tasker Forum

net.dinglisch.android.taskerm

⚙No repetitive tasks for you, let your Android device handle it!⚙
Total Automation, From Settings to SMS. Here are only some
of the things you could do with Tasker. Its real power is the flexibility to combine contexts and tasks however you wish: https://tasker.joaoapps.com/exampleuses.htmlAutomations
Make your phone a true smart
phone! Why remember to change the volume every day when you leave home when your phone can do it for you? Automate stuff based on the app you're in
, the time of day
, your location
, your Wi-Fi network
, Received SMS or Calls
, the currently playing song
and many other (130+) states and events! Check out how easy it is to create an automation: https://www.youtube.com/watch?v=s6EAbLW5WSkActions
350+ actions allow you to truly customize your phone like never before! Send SMS, create notifications, change almost any system setting like Wifi Tether, Dark Mode, Always On Display, change any volume, control Do Not Disturb, open apps, file manipulation, control music playback, get your location... you get the idea. If you can think of it, Tasker can probably do it for you! Note: root is NOT (I repeat NOT) required for majority of the functions.
However, a few of the actions (like the Airplane Mode action and the Mobile Data action on some devices) require root. Regarding those few actions that do require root, this is because of Android security policies that developers cannot work around. ☑ Other Triggers
Manually trigger your actions via launcher shortcuts, quick setting tiles, widgets, long-pressing volume buttons, media buttons (like the ones on your BT headsets or headphones), Bixby button, Navigation Bar, Notificaitons and more! ☑ Join - Remote Tasker
Adding Join (https://play.google.com/store/apps/details?id=com.joaomgcd.join) to the mix will even allow you to trigger tasks from another Android device or PC! ☑ Scenes
Design your own UI and use it to display any info you want or trigger any task! ☑ App Creation
Create your own standalone apps to share or sell with the Tasker App Factory (https://play.google.com/store/apps/details?id=net.dinglisch.android.appfactory)! ☑ Developer Friendly
A lot of 3rd party developers already allow you to perform actions in their apps and listen to their events/states through Tasker! Check out a list of plugins https://tasker.joaoapps.com/pluginlist.html. You can also call most of the Web APIs from Tasker with the powerful HTTP Auth and HTTP Request actions! Check out an example https://youtu.be/yAt2D1XmgUI. ☑ 7 day trial - one time payment to unlock
Get it here: https://tasker.joaoapps.com/download.htmlUseful Links
Starter Guides: https://tasker.joaoapps.com/guides.html Pre-made projects: https://forum.joaoapps.com/index.php?resources/ Official Support Forumhttps://groups.google.com/forum/#!forum/tasker Community full of people willing to help: https://www.reddit.com/r/tasker/ It's not possible to fix problems reported via Play Store Comments so please use the "Report Issue To Developer" option in the app > Menu to do so. Note
: Tasker uses the BIND_DEVICE_ADMIN permission in order to provide the System Lock functionality

READ MORE
February 15, 2020
Last Updated
4.4
Rating
1M+
Installs
Loading...
Similar Threads - Turning gps
  1. Nightman_77
    Replies:
    16
    Views:
    749
  2. luhazi
    Replies:
    4
    Views:
    685
  3. Metalhue
    Replies:
    3
    Views:
    827
  4. resudiordna
    Replies:
    3
    Views:
    697
  5. Theydonboy
    Replies:
    6
    Views:
    687
  6. sungksoh
    Replies:
    1
    Views:
    782
  7. watchintv
    Replies:
    2
    Views:
    934
  8. centricloon
    Replies:
    9
    Views:
    1,584
  9. startac4
    Replies:
    5
    Views:
    1,260
  10. catchingup
    Replies:
    1
    Views:
    993

Share This Page

Loading...