1

Can someone tell me, what is the best way to deal with situations when there is no GPS signal or from some reason fix cannot be acquired?

The thing is that I thought that it would be sufficient just to use onStatusChanged method from LocationListener, but when there is no GPS signal it never calls this method. Why is that?

Thanks

1 Answer 1

2

Take a look at my solution What is the simplest and most robust way to get the user's current location on Android?. If there's no GPS fix it will use update from Network provider. If there are no updates at all it will us last known value.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.