1. Are you ready for the Galaxy S20? Here is everything we know so far!

Tasker - Google maps starts and stops GPS repeatedly

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

  1. HamBoneGravy

    HamBoneGravy Newbie
    Thread Starter

    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?

  2. DaWeav

    DaWeav Android Enthusiast

    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 Android Expert

    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 Newbie
    Thread Starter

    I have several profiles, but only one that pertains to Maps:

    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 Newbie
    Thread Starter

    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 Android Expert

    Glad to see it is (going to be) resolved.
  7. DroidHTCEVO

    DroidHTCEVO Lurker

    How do I find the Log in Tasker?
  8. Rob.G

    Rob.G Android Enthusiast

    Menu > Preferences > Misc.

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

Share This Page