Tasker - Google maps starts and stops GPS repeatedly

Discussion in 'Android Apps & Games' started by HamBoneGravy, Aug 9, 2010.

  1. HamBoneGravy

    HamBoneGravy Member
    26

    Aug 8, 2010
    11
    1
    26
    Developer
    NYC, NY
    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
    53

    Nov 13, 2009
    343
    53
    53
    Lemoore, CA
    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
    163

    Nov 15, 2009
    2,323
    482
    163
    Central NJ
    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
    26

    Aug 8, 2010
    11
    1
    26
    Developer
    NYC, NY
    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
    26

    Aug 8, 2010
    11
    1
    26
    Developer
    NYC, NY
    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
    163

    Nov 15, 2009
    2,323
    482
    163
    Central NJ
    Glad to see it is (going to be) resolved.
     
  7. DroidHTCEVO

    DroidHTCEVO New Member
    5

    Dec 14, 2010
    1
    0
    5
    How do I find the Log in Tasker?
     
  8. Rob.G

    Rob.G Well-Known Member
    53

    Nov 15, 2010
    341
    84
    53
    Male
    United Stated
    Menu > Preferences > Misc.

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

Share This Page

Loading...