I am developing an Android application in which the current and accurate location is key. After detecting the GPS fix, it proceeds to the next step.
The problem is that I tested it outdoors and found that sometimes it just uses the location from the previous fix.
So I ask; is there any other logic to get location from LocationManager other than getLastKnownLocation? I have not yet found an example that would not look like
Location location = locationManager.getLastKnownLocation(provider);
Thanx!
source share