The class often returns an OLD location. I usually need to run() a couple of times before the correct location is returned. Any thoughts?
Source code:
The class often returns an OLD location. I usually need to run() a couple of times before the correct location is returned. Any thoughts?
Source code:
check this question Android - Reliably getting the current location
and note
Location location=lm.getLastKnownLocation(LocationManager.NETWORK_PROVIDER);