If you have a location listener enabled, then it does.  I don't think
the GPS will update until something registers with the LocationManager
service, but I can't think of a way to test that hypothesis without
creating a location listener first.  An internals guru would be more
helpful there.

The behavior I notice using networks instead of GPS to test (GPS was
spotty the past few days) is a single call to onLocationChanged for
the one valid point I was using (I don't move, so I always get the
same point).  I can't imagine why it wouldn't update immediately after
being turned on (provided you need it).

On Nov 8, 3:26 pm, Christine <[EMAIL PROTECTED]> wrote:
> I was wondering, does an onLocationChanged event happen when the
> location device gets turned on? That is, if you're in SF, you turn off
> gps, you take a plain to Amsterdam, then you turn on gps, does the
> device generate an onLocationChanged event? Or does that happen when
> you've changed location after turning on the gps?
--~--~---------~--~----~------------~-------~--~----~
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