We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
location does not update even using LocationParams.NAVIGATION. Does anyone know how to solve it?
The text was updated successfully, but these errors were encountered:
I implement it in this way, and it works on android 8 but not on android 7 :(((
private void startLocationListener() { Logger.d("startLocationListener:begin smartLocation"); LocationParams.Builder builder = new LocationParams.Builder() .setAccuracy(trackingAccuracy) .setDistance(trackingDistance) .setInterval(interval); LocationGooglePlayServicesWithFallbackProvider provider = new LocationGooglePlayServicesWithFallbackProvider(this); SmartLocation smartLocation = new SmartLocation.Builder(this).logging(true).build(); smartLocation.location(provider).continuous() .config(builder.build()).start(this); smartLocation.activity().start(this); }
@Override public void onLocationUpdated(Location location) { //do sth with location setLocationValues(location); }
Sorry, something went wrong.
Same issue. I also tried the method in Android official documentation, but it still cannot get the location update.
No branches or pull requests
location does not update even using LocationParams.NAVIGATION. Does anyone know how to solve it?
The text was updated successfully, but these errors were encountered: