Go Back   Android Forums > Android Discussion > Android Applications > Tasker

test: Reply
 
LinkBack Thread Tools
Old December 17th, 2012, 03:42 PM   #1 (permalink)
New Member
Thread Author (OP)
 
Join Date: Dec 2012
Posts: 2
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default problem: GPS with waze

I am new to tasker. I want my GPS to be on only when waze (navigation app) is on. I have a profile for that and it works fine. But if I get a call or leave waze for any reason, the GPS turns off and doesn't come back on again. I want the GPS to be on all the time when waze is on, even when waze is not in focus. Is it possible?

Some details: I have a Samsung galaxy note, with a German stock ICS rom. The profile is defined using secure settings+helper.

Thanks!

Advertisements
pazitp is offline  
Reply With Quote
sponsored links
Old December 17th, 2012, 03:58 PM   #2 (permalink)
New Member
Thread Author (OP)
 
Join Date: Dec 2012
Posts: 2
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

I thought of a temporary solution: as an exit task, I told it to wait 5 minutes before turning the GPS off. It works, but I'm wondering if there is a smarter way of doing this.

Another question:
I have wifi switched on only when I'm close to certain cellular towers (e.g. at home). But I also have wifi on when I use waze (it helps locating faster). The problem is, sometimes these profiles conflict. If I return home using waze, I switch waze off and then wifi is switched off, the wifi doesn't switch on because I'm close to my home cellular towers. I guess it's because I came close to these cellular towers before waze was switched off and tasker doesn't re-check? Is there a way to resolve this conflict?
pazitp is offline  
Reply With Quote
Old December 19th, 2012, 03:21 PM   #3 (permalink)
New Member
 
Join Date: Jan 2011
Posts: 1
 
Device(s): Galaxy Nexus
Carrier: Sprint

Thanks: 0
Thanked 0 Times in 0 Posts
Default

I found a solution in the tasker google groups.

If you do not have an exit task already for waze creating one will solve your issue.
First create a variable %Waze and follow the steps below for creating the exit task.

1. Run Shell command (this will read notifications to see if waze is still active)
tmp=$(dumpsys notification); case $tmp in **waze**) VAR="true" ;; *) VAR="false" ;; esac; echo $VAR
StoreResultIn -> %Waze
2. If %Waze ~ false
3. Disable GPS
4. End If
chi_ra is offline  
Reply With Quote
Old December 21st, 2012, 06:38 AM   #4 (permalink)
ROM Developer
 
SUroot's Avatar
 
Join Date: May 2010
Location: Riddlesden, West Yorkshire, UK
Posts: 23,926
 
Device(s): SGS3 (Current) HTC Desire (Retired)
Carrier: 3 UK

Thanks: 1,923
Thanked 5,324 Times in 3,995 Posts
Default

GPS isn't using power unless it's flashing in the status bar though. Not quite sure on the reason for turning GPS off in the first place.
SUroot is offline  
Reply With Quote
Reply


Go Back   Android Forums > Android Discussion > Android Applications > Tasker
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 05:22 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.