I want to check to see which location service is enabled (network or GPS). I know I can run in Tasker the shell command "settings get secure location_providers_allowed" and get back either get "network", "gps", or nothing. I can then do a matching for "network" or "gps". So my question..is there a simpler way to do this with perhaps a built in Tasker function?
You have of course the global %GPS variable.
If you want the exact mode the only way I know of is to query with Taskers java actions.
You have of course the global %GPS variable.
If you want the exact mode the only way I know of is to query with Taskers java actions.