1

Android location manager returns same gps coordinates every time

view story
linux-howto

http://stackoverflow.com – I am creating an app to send the phones location to my server. The issue i have is that the phone gives me the exact same gps coordinates every time i start the app. When i restart it the coordinates can change, but after the first coordinate is sent it will send the same once until the app is restarted. Code: // Contructor etc public class LocationASYNC extends AsyncTask<Activity, String, Void> { private MainActivity m; private LocationManager locationManager; private Criteria c; public LocationASYNC(MainActivity m) { this.m = m; locationManager = (Lo (HowTos)