android


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.

Related Links

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

Categories

HOME
search
jpa
developer-tools
angular2-material
fftw
socket.io
graphics
google-cloud-functions
tivoli
soa
jquery-ui
python-multithreading
code-coverage
google-cloud-datalab
jtextpane
webix
flume
text-mining
jxl
qsqlquery
do-while
azure-powershell
nim
gmm
google-maps-autocomplete
roslyn
google-cloud-print
appirater
fragment-backstack
inversion-of-control
bringtofront
comparable
cppreference
user-defined-functions
tizen-tv
sqlpackage
twiml
ntp
openwhisk
sendbird
indy10
lubridate
reason
zoomify
flatmap
comparison-operators
memory-mapping
mesosphere
geotiff
tf
magic-draw
css-transforms
monkey
d3-force-directed
template-toolkit
cronexpression
angular2-testing
pytables
iotivity
greatest-n-per-group
macaulay2
scaffolding
expectations
tracker-enabled-dbcontext
gcloud-ruby
kiosk
phpwebsocket
createprocess
halcon
asyncdisplaykit
xenomai
rate-limiting
fuelcms
rubaxa-sortable
jdk1.7
amiga
branch-and-bound
mirror
variadic-templates
ssis-data-flow
pseudo-class
personalization
wxformbuilder
menubar
amslidemenu
accesscontrolexception
ecslidingviewcontroller
bin
jammer
mongohq
asdf
kaleidoscope
traceability
cascadingdropdown
virtual-pc
mkv
uimanageddocument
pyunit
thttpd
cgimage
convention
node-redis
expression-blend-4
xcelsius
strsep
unattended-processing
appledoc
ruby-1.8
easyb
jqueryform
cfwindow
dsl-tools
escrow

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App