// 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