1. Introducing Channels - a new way to chat with other Android users!
    Dismiss Notice

Tasker - Google maps starts and stops GPS repeatedly


Last Updated:

  1. HamBoneGravy

    HamBoneGravy Member This Topic's Starter

    Joined:
    Aug 8, 2010
    Messages:
    11
    Likes Received:
    1
    I just started using Tasker on my Droid X and have found it to be very useful. I have had a problem with a Profile that I built around Google Maps.

    After reading about a GPS bug on Droid X (I believe the same issue happens with WiFi, but it not relevant here) I created a profile that turns on GPS when Maps is started and turns off GPS on exit. In order to verify the on/off tasks are being doing at the correct times, I added a popup to the end of the on/off tasks. If this worked as I thought it would, I should see the popup happen after launching Maps and I should also see it when Maps closes:

    Start Maps -> GPS on -> popup -> [use Maps] -> close Maps -> GPS off -> popup

    So after setting this profile up in Tasker and launching Maps, I see maps open and the GPS on popup appear, but after a few seconds, the GPS off popup appears. After a few seconds, the GPS on popup appears and the GPS off popup apear again. This repeats for as long as I have the Maps app open.

    Maybe this has something to do with how Google Maps launches/works/exits, but I'm at a loss here. Does anyone have any ideas why this is happening?
     

    Advertisement
  2. DaWeav

    DaWeav Well-Known Member

    Joined:
    Nov 13, 2009
    Messages:
    343
    Likes Received:
    53
    Set a cooldown on that profile properties to see if it stops. But, check with unclemike to see if he might know why or has a better solution.
     
  3. UncleMike

    UncleMike Well-Known Member

    Joined:
    Nov 15, 2009
    Messages:
    2,319
    Likes Received:
    482
    Setting a cooldown value will prevent the profile from starting/stopping repeatedly, but it appears that the underlying problem is that Tasker is seeing Google Maps context go active/inactive repeatedly.

    Your original explanation of the problem is in layman's terms, so it's hard to know exactly what you're doing in Tasker. Can you be more specific about what you're doing in Tasker, including contexts, enter task, exit task, whether this is your only profile?
     
  4. HamBoneGravy

    HamBoneGravy Member This Topic's Starter

    Joined:
    Aug 8, 2010
    Messages:
    11
    Likes Received:
    1
    I have several profiles, but only one that pertains to Maps:

    [context]
    Google Maps

    [entry task]
    GPS Set On
    Popup "GPS On"

    [exit task]
    GPS Set Off
    Popup "GPS Off"

    I also submitted this issue to the people at Tasker and they requested a log (sent this morning). I'll let everyone know what I get back and I'll try the cooldown as well to see if that helps.
     
  5. HamBoneGravy

    HamBoneGravy Member This Topic's Starter

    Joined:
    Aug 8, 2010
    Messages:
    11
    Likes Received:
    1
    Update: I just checked back on the Tasker Group (https://groups.google.com/group/tasker) and they had a chance to check out my log. They seem to think that the popup is making Tasker believe that Maps has exited earlier than it actually has. They are promising a fix in the next version :)
     
  6. UncleMike

    UncleMike Well-Known Member

    Joined:
    Nov 15, 2009
    Messages:
    2,319
    Likes Received:
    482
    Glad to see it is (going to be) resolved.
     
  7. DroidHTCEVO

    DroidHTCEVO New Member

    Joined:
    Dec 14, 2010
    Messages:
    1
    Likes Received:
    0
    How do I find the Log in Tasker?
     
  8. Rob.G

    Rob.G Well-Known Member

    Joined:
    Nov 15, 2010
    Messages:
    341
    Likes Received:
    84
    Menu > Preferences > Misc.

    The option, "Debug To SD Card", places the file Tasker/log.txt on your SD card.
     

Share This Page

Loading...