You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// If the best result is beyond the allowed time limit, or the accuracy of the
// best result is wider than the acceptable maximum distance, request a single update.
// This check simply implements the same conditions we set when requesting regular
// location updates every [minTime] and [minDistance].
if (locationListener != null && (bestTime < minTime || bestAccuracy > minDistance)) {
IntentFilter locIntentFilter = new IntentFilter(SINGLE_LOCATION_UPDATE_ACTION);
context.registerReceiver(singleUpdateReceiver, locIntentFilter);
locationManager.requestSingleUpdate(criteria, singleUpatePI);
}
90% requestSingleUpdate ,when system get location will will send intent to
BroadcastReceiver singleUpdateReceiver
Sometime I see requestSingleUpdate not work.It make my application can not get
location.But I test GooglePlace ,it can get location
What version of the product I'm using 4.1
I 'm not understand why GooglePlace can get very good location
Original issue reported on code.google.com by [email protected] on 5 Dec 2012 at 4:41
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 5 Dec 2012 at 4:41The text was updated successfully, but these errors were encountered: