GPS fix lost after couple of days running
We have an app which tracks device location (using GPS fine location) every second and sends coordinates to our server. The app is often running multiple days without closing. And when the app gets run for couple of days without closing, Locationmanager loses gps fix and won’t get it back until the app is restarted. When this happens, device is often in open area, so the gps fix is lost by no reason. We have tried Fused location service, but no help. I don’t think this is a device problem. The app is running in different devices with different Android versions. No problems was between 2014 to 2017 march when this problem began. We added this row in march, and after that the problem began: <uses-feature android:name="android.hardware.location.gps" /> A week ago we removed this row and no problems since then. However this is weird, because Google recommends adding upper row to the manifest.
Using SharedPreferences on a onClick method
Set up a LinearLayout into an other LinearLayout with imagebackground
Android: Can write to lib dir?
“createRenderThread failed to connect” when starting an Android Virtual Device
Animation in loading listview
getResources().getString() doesn't work after orientation has been changed
What do all the orientation constants of the ExifInterface class in Android mean?
how to remove text drawn from Canvas in android
Android autocomplete textview on click item
How to create the duplicate keystore for android application [duplicate]
How to Use Geopoint? [duplicate]
Overlaying one common fragment helping Other Tab Fragments
Android emulator crashes on launch [closed]
InApp Purchased in Android
How to cancel a foreground service from using the notification (swipe dismiss) or clear all notifications?
SEPARATE THREAD VS SERVICE + SEPARATE THREAD