When setting up a listener for location changes, is there anything
different that is required to trigger the GPS to get a location fix that
you don't need to do for network?

I am using the followig code:

mLocationManager.requestLocationUpdates( provider,
                                         LOCATION_PERIOD,
                                         LOCATION_CHANGE_TRIGGER,
                                         this );

In the code that follows, if provider is equal to "network", the
onLocationChanged method is called almost immediately.  If the provider
is "gps", it does not seem to get triggered ever (and I waited a while).
Is there something else that needs to be done in order to force the GPS
to actually get a fix?


-- 
Jake Colman -- Android Tinkerer

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

Reply via email to