[Q] Tasker and GPS on the charge - Verizon Droid Charge

Hi --
I am attempting to use Tasker to turn GPS on/off when I start/close the Maps application on the Charge, but Tasker won't do it. It works when I test the tasks in the Tasker app, but not when I actually start/close Google maps. The profile is running when I open maps (the notification window confirms this), but again, Tasker will not toggle GPS on/off. Interestingly, the legal window that pops up and must be agreed to DOES pop up when I start maps, which tells me Tasker is attempting to turn on GPS, but it disappears from the screen before I can click on "agree." Anyone else run into this problem? On a side note, since I brought them up, is there any way to get around the legal agreements that need to be agreed to every time GPS services are turned on/off? God, those are annoying.
Thanks in advance!

Related

[APP] Tasker

I use Tasker for automating a lot of redundant tasks on my phone. I figured I would post a couple I'm using with hope that others will share with me some stuff they use it for.
action: Docked.
Tasks done when docked: Bluetooth on, wifi off, gps on, auto brightness set off [if time < 1800, Display Brightness set to 255 if time < 1800, pandora set on.
exit tasks: Bluetooth off, auto brightness on if TIME < 1800, pandora set off, gps off.
Action open Application Maps/Nav or any gps app.
Tasks done: GPS on
exit tasks done: GPS off.
action: phone face down
Tasks done: airplane mode on if time < 2200, all sounds off except for alarm
exit tasks: airplane mode off, all sounds revert to previous settings.
these 3 i use, if you have any others let me know. If you need help with the program let me know too.
here is where you can grab tasker.
http://tasker.dinglisch.net/
Sounds something that I would definitly use. I beleive its a paid app, but still worth it. I'll look into it. Does it have settings for wifi e.g.- 1 touch WIFI on, because i'm using the stock wifi on/of toggle but I then have to go into wifi settings and actually see my phone connecting to my network in order for i to work and turn on.... ??????
Yeah there are settings for connecting to wifi. Mine does it automatically when I get home based on the gps. Works most of the time, had to turn it on manually a couple times because the gps wasn't on.
generic.imitation said:
Action open Application Maps/Nav or any gps app.
Tasks done: GPS on
exit tasks done: GPS off.
Click to expand...
Click to collapse
How do you set up an OR for the app launch context? I'm trying to get it to turn on GPS when I open Maps, Foursquare, Yelp, or Places, but it doesn't let me multi-select apps and if I add a context, Application isn't there.
Make it separate tasks.
make 1 for each app.
Foursquare - turn on gps. Turn off gps when exit.
Ect.
also, I guess there is a wiki with a bunch of samples I guess. I'm out at a remote beach on northern oahu right now, but if someone doesn't post it before me I'll post the link when I get home.
generic.imitation said:
Make it separate tasks.
make 1 for each app.
Click to expand...
Click to collapse
Yeah, that's what I've been doing. It'd just be nice if you could have conditionals in the context. IF Yelp OR Foursquare OR Maps OR Places then ...
Post over there and make a feature request, they should put that in I agree .
Just bought Tasker and so far I like it. Can't seem to figure out how to do the following task though.
I need to set to static IP when on a certain wifi connection. I already have the IP set and the only thing that will need to be done is to toggle the static IP checkbox in the advanced setting of wifi. I know how to specify the wifi network but how can I make it toggle that checkbox/setting?
Thanks for any info.
i made a simple widget to toggle the screen brightness to two preset brightens for inside and direct sunlight.
i could not find an app that let me choose the brightness, they either made it full dark/bright.
i can't work out however to toggle a different widget icon to indicate on/off...
i've tried set icon but with no luck
its not really needed but would be good to have/know for future apps
also, can anyone explain how the HTTP (get info from net) works?
i want to try a few things but not really sure how it works
This app is the best app on the market... hands down. #Win
generic.imitation said:
Yeah there are settings for connecting to wifi. Mine does it automatically when I get home based on the gps. Works most of the time, had to turn it on manually a couple times because the gps wasn't on.
Click to expand...
Click to collapse
You should use "wifi near" as a condition instead of "gps". That way it just toggles you wifi on and off periodically and if it is near... it will connect.
Gps is so demanding on the battery... and not always accurate... as you see
I set mine up so whenever I plug in my headphones my music app opens
Sent from my DROIDX using XDA App
ichigopow said:
I set mine up so whenever I plug in my headphones my music app opens
Sent from my DROIDX using XDA App
Click to expand...
Click to collapse
I set my heaphones the same.. but at the same time, it cuts my media volume up (in case it was down) and when I unplug them... it returns my media volume back to it's previous value
MrDanger said:
I set my heaphones the same.. but at the same time, it cuts my media volume up (in case it was down) and when I unplug them... it returns my media volume back to it's previous value
Click to expand...
Click to collapse
I do the same except my volume goes down when I plug them in so I don't have music blaring in my ears.
Sent from my DROIDX using XDA App
I also have a profile that texts my gf a random message at a random time that is between 7:30 am and 7:40 am (so she don't think it's automated lol) every morning. I got that idea from LexusBrian
Again.. great app!
Here was I have got going on with tasker.
Car dock: gps on, bluetooth on, display always on, notification volume off. On exit they all do the opposite.
When home: wifi on. Exit wifi goes off.
At work: phone goes to vibrate for everything.
10pm to 545am: phone goes quiet.
I second it a best app ever. Wifi, gps, and bluetooth are never on when I don't need em. Come on you can't beat that. What a battery saver.
Sent from my DROIDX using XDA App
Tasker is an incredibly handy utility.
Here's the profiles I use:
GPSonForLocationApps - I think this one has already been covered by this thread.
WifiOnAtHome - I use the wifi near option... although I think it's causing issues with my 3G signal... it will occasionally turn on wifi to check if I'm at home which seems to turn off 3G. Still playing with this one.
LowVolumeDuringWorkHours - sets various volumes appropriately so I can still hear stuff but doesn't annoy folks working near by. I turn this on/off based on day of week and time of day. Upon exiting this profile it returns my volumes back to normal.
NoficationsOffAtNight - I turn off notifications at night and if my phone is plugged into AC.
SilentForMeetings - if I have a calendar entry where I'm marked as busy it turns my phone to silent mode.
Openwatch?
Hello
I am new to Tasker, and I'm starting to understand exactly how much you can do. Uses open watch a lot and have done a lot of settings to make my clock better. But I wonder if I can get messages from one app to my watch. The app is an ice hockey results service. And each time it becomes a goal, I get it as income message in the status bar. But can I get the message in the clock at the same time? Right now I just get a message in the watch which I've written, but would like it says in the status bar so you do not I pick up the phone to look at the result. Is there perhaps a few codes to enter, instead of my message is? Hope you understand me?
I have mine set to enable WiFi when I connect to a certain cell tower. Keeps the drain on my batter to nothing more than it was already at, and GPS is only enabled for about 5 minutes to and from the house. I'm sure the drain for that combined 10 minutes is much less than periodically checking the GPS or if a network is near.
I am turning off gps when I get to my home cell tower and turning on my wifi at the same time.
For my multimedia apps like pandora, I have my screen stay on when plugged to a power source.
Sent from my DROIDX using Tapatalk

How can I get the GPS to run even in background?

I purchased a Mileage tracker App that does everything I need, but it likes to stop and start the GPS randomly causing delays in the Time stamps it creates. If I run Latitude (default app) along with the program GPS is always on and it functions correctly. If I am in Latitude and click the Home button, it exits and I lose GPS. Is there an App that will run in the background that uses GPS and will leave it on? ChronoLog is the Tracking Program i use and like.
Any suggestions?
tucker1003 said:
I purchased a Mileage tracker App that does everything I need, but it likes to stop and start the GPS randomly causing delays in the Time stamps it creates. If I run Latitude (default app) along with the program GPS is always on and it functions correctly. If I am in Latitude and click the Home button, it exits and I lose GPS. Is there an App that will run in the background that uses GPS and will leave it on? ChronoLog is the Tracking Program i use and like.
Any suggestions?
Click to expand...
Click to collapse
I dont know if this helps but, Google Nav doesn't cut off if you hit the home screen. The Icon is always on unless you tell it to exit.

[REQ] GPS on/off apps

Gingerbread doesn't allow apps to turn on/off GPS anymore (CM still does but it's missing some features for my device that I can't live without). Only system apps can do this these days.
As I use Tasker to automate a lot of stuff this quite sucks. I tried making Tasker a system app but the latest version still refuses to toggle GPS.
Thus my request: Could someone please create 2 tiny apps that just turn GPS on/off that can be moved to system and used by other apps to toggle that setting?
Why do you need to do that?
Just keep gps on, it doesn't do anything while it's not in use by some app. In particular, it doesn't contribute to battery drain while inactive.
some apps use GPS while in background, e.g. Google Maps. So having GPS enabled does drain the battery
XlAfbk said:
some apps use GPS while in background, e.g. Google Maps. So having GPS enabled does drain the battery
Click to expand...
Click to collapse
Strange, I don't think I've ever seen that happen. The only time I see the GPS in use indicator on my notification bar is when an app like maps, my tracks etc is in the foreground. Just checked that as soon as I switch away from maps by hitting the home button, the GPS indicator vanishes.
Sent from my COS-DS using XDA App
XlAfbk said:
some apps use GPS while in background, e.g. Google Maps. So having GPS enabled does drain the battery
Click to expand...
Click to collapse
drbobb is right. Having GPS enabled does not mean that the actual hardware is on all the time. It merely means that android will allow apps to use it, at which point the GPS hardware will become active. So having it "ON" is just a permission thing.
If you are worried about GPS background apps (really Maps does that? I will surely test this), then I would highly recommend LBE Privacy Guard. Set the app up in such a way that Maps will need to ask you for permission to switch on GPS hardware. I tried this with the android browser because it uses GPS when you start it at google.com. Works like a charm!
well, it is as it is. this thread is not intended as a discussion thread about whether someone thinks disabling GPS is unneccessary. it's a request for an app that just turns on GPS and quits.

[Q] Tasker - GPS On/Off?

Anyone finding success with Tasker getting GPS control working on their Nexus 5 (Android 4.4)?
Tasker v4.1
Rooted
Secure Settings Pro/Helper
Example:
Profile>Application "GoogleMaps">New Task ("GPS On")>Plugin>SecureSettings>Edit>HelperActions>GPS>On>Save
ExitTask same as above but GPS>Off
When I launch GoogleMaps I can see Tasker working, but from within Tasker I see an error: "An error occurred while executing Action:GPS"
Any suggestions? Related to "Location Mode" setting approach with "High Accuracy", "Battery Saving", "Device Only" options?
Thanks!
I solved this problem using Helper Alternative in Secure Settings (last option of Helper tab in Secure Settings)
Now with "gps on" action you switch from battery saving mode to high accuracy, and vice versa vith "gps off".
You can also use the action to enable/disable the entire location service but in that case every time you want it on it shows an annoying google location consent disclaimer
aecant said:
I solved this problem using Helper Alternative in Secure Settings (last option of Helper tab in Secure Settings)
Now with "gps on" action you switch from battery saving mode to high accuracy, and vice versa vith "gps off".
You can also use the action to enable/disable the entire location service but in that case every time you want it on it shows an annoying google location consent disclaimer
Click to expand...
Click to collapse
Where is the option for battery saving mode or high accuaricy? I set it up only for Location services and the google location consent appear.
Also, is it possible to set it off in another way? because if I click in Tasks button in my phone, it suddenly turns gps off although Maps keeps running in the background
chimas16 said:
Where is the option for battery saving mode or high accuaricy? I set it up only for Location services and the google location consent appear.
Click to expand...
Click to collapse
you can switch between battery saving mode and high accuracy toggling the gps option:
gps on -> high accuracy
gps off -> battery saving mode
chimas16 said:
Also, is it possible to set it off in another way? because if I click in Tasks button in my phone, it suddenly turns gps off although Maps keeps running in the background
Click to expand...
Click to collapse
I use a workaround, I have set tasker to wait 20 seconds before disabling gps when i close apps that need location services, so when I switch to another app it doesn't turn off gps immediatly. I don't know other methods to make tasker consider that the app is running in the background
aecant said:
you can switch between battery saving mode and high accuracy toggling the gps option:
gps on -> high accuracy
gps off -> battery saving mode
I use a workaround, I have set tasker to wait 20 seconds before disabling gps when i close apps that need location services, so when I switch to another app it doesn't turn off gps immediatly. I don't know other methods to make tasker consider that the app is running in the background
Click to expand...
Click to collapse
How do you set tasked to time out after certain time? I keep trying but it just stays on high accuracy
p4ranoid4ndroid said:
How do you set tasked to time out after certain time? I keep trying but it just stays on high accuracy
Click to expand...
Click to collapse
i set a "wait" action before disabling gps
aecant said:
i set a "wait" action before disabling gps
Click to expand...
Click to collapse
How do you set a wait action? Create another task?
p4ranoid4ndroid said:
How do you set a wait action? Create another task?
Click to expand...
Click to collapse
no, you add an action, just hit the plus button>task>wait and set the amount of time you desire
GPS or locational services turning on solution
I created this tasker for if my phone got lost, but could be used for the Google Maps apps or Photo geotagging. This is for phones that are locked and require the google consent notice to be accepted.
Profile: recieved text "lostphone"
Task:
Secure settings: pattern lock disabled
Secure settings: wake phone
WIFI on
Mobile Data on
Secure settings: Location Services Enabled
Wait: 2 seconds
Dpad: Right repeat x2 (this is because the first time it doesn't work)
Dpad: Press repeat x1
Wait: 2 seconds
Secure settings: Pattern lock enabled
Secure settings: lock device
this makes the phone vulnerable but it only takes seconds for the phone to relock itself
Lewis
Hi,
I just installed tasker app on my Galaxy S7 Edge.
I tried to create a task to switch on GPS when running Pokemon App and then switch off once app is closed.
Task:
1. Launch App
App Pokemon Go Data %LOC
I run the task, as expected, it opens pokemon go app and 4G(gps) icon appears on the upper-left corner of my phone. But the icon won't disappear when I manually turn off the Location on Quick Settings.
Please help how to restore Location icon on-off.
Thank you

[Q] tasker location not updating

So tasker isn't updating location properly.
I have it using "net" for location and location mode is set to "battery saving"
Upon phone restart this works...
Until I change mode to "high power" for navigation, etc...
After toggling location mode tasker will cease updating location until I reboot the phone.
Even after going back to battery saver... google maps location works... but tasker refuses to change.
Anyone else having issues like this? what gives?
I have used location triggers from Tasker but never the "location" in Tasker.
If you want a low battery location trigger, use the State->Cell Near instead.
If you are ok with slightly higher battery usage with higher accuracy and got USD1 to spare, try the AutoLocation plugin that uses GeoFences.
It works great for weeks at a time... until I change my location mode from "battery saving" to "high power" (and later back to "battery saving")
Only after I change location modes does it stop working until a reboot (even force close and restart won't fix the issue)
Anyway, I'd rather not install AutoLocation... it seems like it does the same thing the location profile does in tasker...
orb360 said:
Anyway, I'd rather not install AutoLocation... it seems like it does the same thing the location profile does in tasker...
Click to expand...
Click to collapse
It definitely doesn't, if you are up for it, you can read up about Android Geofences, it is a new thing by Google and supposedly save more battery compared to previous methods of location detection.
Its sad that Tasker doesn't include this by default internally though.
orb360 said:
So tasker isn't updating location properly.
I have it using "net" for location and location mode is set to "battery saving"
Upon phone restart this works...
Until I change mode to "high power" for navigation, etc...
After toggling location mode tasker will cease updating location until I reboot the phone.
Even after going back to battery saver... google maps location works... but tasker refuses to change.
Anyone else having issues like this? what gives?
Click to expand...
Click to collapse
I am also trying to do the same profile but I am using disconnect from work wifi as the trigger. Can you please share how did you create the action to change the location mode because I can't seem to find it in tasker.
I think it has to do with LTE. I wound up using cell tower location within Tasker instead and that works fine.
Sent from my Nexus 5 using Tapatalk

Categories

Resources