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

How do I build a simple Android project written in Scala? [closed]
Is is possible to make HTTPS requests in Android, using/accepting a self-signed certificate, instead of “Nuking” all SSL certificate?
Android retrieve result after gives two parameter date and id
How can I manipulate a website based on input from an android application?
android: receive udp broadcast while devices screen is off
how to update search filelist when using godir in android AOSP?
Firebase Android: handle deep links
`$cookies.put()` takes 30 seconds to save the cookie on disk on Android
Compile ARM binaries, run them in ARMulator
java.lang.IllegalArgumentException: Given String is empty or null when executing Firebase updatePassword() Method
Running LXC on Android
Why is onNext not getting called when using toList?
How to set alarmManager for a specified time
GoogleApiAvailability missed with firebase-messaging:9.4.0
Getting a Floating Action button between two layouts which already has elevation
Clear all List in spinner items

Categories

HOME
android
sonarqube
embedded
checkstyle
datastore
case
gembox-spreadsheet
nuget-package
code-coverage
data-visualization
azure-container-service
opengl-3
qpython
openstreetmap
emoji
dynatrace
cumulocity
gruntfile
internationalization
job-scheduling
forgot-password
video-editing
gmm
symbols
exit
pic32
syntax-highlighting
corpus
nstimer
ntp
scrollview
kudu
playstation-portable
twos-complement
keras-layer
baidu-map
hivemq
openerp-7
lint
flatmap
z-notation
bc
trigonometry
watchface
oracle-service-bus
knime
builder
wpas
oracleclient
skin
er-diagram
ziparchive
async.js
file-uri
delta
dimension
gogs
vorpal.js
tracker-enabled-dbcontext
data-protection
invoke-sqlcmd
highland.js
libvlc
intel-c++
video-player
text-search
finalbuilder
jsvc
bufferedinputstream
android-broadcast
fits
at-job
mruby
lnk
renderer
clickbank
gtm-oauth2
ie8-compatibility-mode
printdialog
epiceditor
device-width
fusefabric
mapping-by-code
cgimage
workflow-services
tournament
umra
xui
inline-formset
unattended-processing
cac
nstokenfield
skype4java
dojo-dnd

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