1 minute seems long to me too, 5-10 sec is a good generic interval if
you just want it to turn off quicker. Also remember that the GPS needs
a time *and* distance update interval.

But my question is this, have you sat down and watched to see if the
little satellite dish disappears after a minute? My guess is it
should. Also remember your app is usually just suspended when you
first turn it off (so it can be booted up quicker). If android needs
the memory it will kill it.

Ken

On Dec 2, 11:24 am, Mark Wyszomierski <[email protected]> wrote:
> I've been working with the location providers lately, I haven't seen
> this behavior. When I deregister my listeners, the GPS icon goes away,
> I haven't seen it stick around.
>
> Even one minute intervals for GPS seems like a lot for me - I'm
> guessing users won't be able to move fast enough in one minute to make
> any real difference in location. All depends on the app though.
>
> On Nov 19, 6:33 pm, jtoolsdev <[email protected]> wrote:
>
>
>
> > I'm looking to a solution using the MyLocationOverlay library where
> > one can use runOnFirstFix which can launch the thread (which I already
> > have) when the current location is found.  Once it is found I can shut
> > down the location stuff as I only need it at the start of the program.
>
> > On Nov 19, 3:20 pm, Nathan <[email protected]> wrote:
>
> > > On Nov 19, 12:09 pm, jtoolsdev <[email protected]> wrote:
>
> > > > The recommendation of
> > > > the SDK is for setting up the location listener is to set time at
> > > > 60000ms or 1 minute.  
>
> > > Really? Does Google Maps follow that guideline?
>
> > > > My tests show if you use that number when
> > > > exiting the app it may not shutdownGPS.  
>
> > > Sounds bad.I hope there is an answer for that.
>
> > > Nathan

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to