Open EmptyPages opened 1 year ago
That might be normal if the provider is being turned off between fixes, it takes a few seconds to set up the alarm, receive the alarm, start the provider(s), then wait for a fix. You could try the "Keep GPS on between fixes" option and then the provider should stay on. Then the only delay becomes the alarm being set up and received.
i called the method passiveLocationManager.requestLocationUpdates(LocationManager.PASSIVE_PROVIDER, 1000, 0, passiveLocationListener); towerLocationManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 1000, 0, towerLocationListener); gpsLocationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 1000, 0, gnssLocationListener); moreover i called the mehod PreferenceHelper.getInstance().setMinimumLoggingInterval(1);
but Android Studio log show this, interval value about 5 socond , it is different value of different device