Comments (10)
Addendum: I found out I cannot say after all whether Tiny Travel Tracker gets the wakeup / power management right on my phone, for unrelated reasons. In any case, the TTT source code contains plenty of experiments on this topic.
from ulogger-android.
Looking at android LocationManagerService it seems that it will not broadcast location if the device is not moving. It also means that minimum distance cannot be set to zero. I will try to cheat and change 0 to 0.01 or so. This may help, but there still will be cases when there will be no updates.
I could of course wake up the device every x seconds and force new location update, but that is something I would like to avoid. This would mean more battery usage.
Logging my tracks I never set distance to "no minimum". If there are no new positions in the log I assume the device is not moving.
I will have to think about it and test more.
from ulogger-android.
Hmm, as I read the code, it falls through to true at the end of the function if you set the minimum distance to zero, i.e. 0 is a perfectly valid minimum distance.
The network location backends aren't perfect - the position jumps around randomly depending on which neighbors' wifis happen to appear in the scan, or which of the several cell towers the phone is connecting to. I don't set a minimum distance because I'd like to average such fluctuations away, and/or get a feel for their magnitude.
from ulogger-android.
You are right, I misunderstood the logic. I will do some tests to see if I can reproduce your issue.
In the meantime please repeat the tests with the newest version.
There are some delays on f-droid part, but I hope the new version will be available soon.
from ulogger-android.
I noticed the delays on f-droid, and I had to buid the app on my own (by the way it worked).
On the other side may be have the apk here in guithub in addition to f-droid, ex.: https://github.com/ukanth/afwall/releases
from ulogger-android.
I did short test with only network provider enabled. Wifi was disabled on the device, so the only source of location was gsm network. Everything worked as expected. I set 1 minute time window and no minimum distance. I left it running for an hour and not a single update was lost, except that they all were above accuracy limit (500 m).
It was on µlogger 1.3, old android 2.3.6. Your problem must be related to different nlp backends on your device. You may try to get some more information by turning debugging on and rebuilding µlogger.
For me it will be difficult to reproduce your issue as I don't have any device that I can use with your setup and it will not work in emulator.
04-10 14:22:42.270 5918-5918/net.fabiszewski.ulogger D/LoggerService: [location changed: Location[mProvider=network,mTime=1491826962249,mLatitude=...]
04-10 14:22:42.270 5918-5918/net.fabiszewski.ulogger D/LoggerService: [location accuracy above limit: 848.0 > 500]
04-10 14:23:42.260 5918-5918/net.fabiszewski.ulogger D/LoggerService: [location changed: Location[mProvider=network,mTime=1491827022256,mLatitude=...]
04-10 14:23:42.260 5918-5918/net.fabiszewski.ulogger D/LoggerService: [location accuracy above limit: 848.0 > 500]
04-10 14:24:42.259 5918-5918/net.fabiszewski.ulogger D/LoggerService: [location changed: Location[mProvider=network,mTime=1491827082262,mLatitude=...]
04-10 14:24:42.259 5918-5918/net.fabiszewski.ulogger D/LoggerService: [location accuracy above limit: 848.0 > 500]
04-10 14:25:42.290 5918-5918/net.fabiszewski.ulogger D/LoggerService: [location changed: Location[mProvider=network,mTime=1491827142283,mLatitude=...]
04-10 14:25:42.290 5918-5918/net.fabiszewski.ulogger D/LoggerService: [location accuracy above limit: 848.0 > 500]
04-10 14:26:42.319 5918-5918/net.fabiszewski.ulogger D/LoggerService: [location changed: Location[mProvider=network,mTime=1491827202308,mLatitude=...]
04-10 14:26:42.319 5918-5918/net.fabiszewski.ulogger D/LoggerService: [location accuracy above limit: 848.0 > 500]
04-10 14:27:42.350 5918-5918/net.fabiszewski.ulogger D/LoggerService: [location changed: Location[mProvider=network,mTime=1491827262344,mLatitude=...]
04-10 14:27:42.350 5918-5918/net.fabiszewski.ulogger D/LoggerService: [location accuracy above limit: 848.0 > 500]
04-10 14:28:42.340 5918-5918/net.fabiszewski.ulogger D/LoggerService: [location changed: Location[mProvider=network,mTime=1491827322331,mLatitude=...]
04-10 14:28:42.340 5918-5918/net.fabiszewski.ulogger D/LoggerService: [location accuracy above limit: 848.0 > 500]
04-10 14:29:42.349 5918-5918/net.fabiszewski.ulogger D/LoggerService: [location changed: Location[mProvider=network,mTime=1491827382346,mLatitude=...]
04-10 14:29:42.349 5918-5918/net.fabiszewski.ulogger D/LoggerService: [location accuracy above limit: 848.0 > 500]
04-10 14:30:42.370 5918-5918/net.fabiszewski.ulogger D/LoggerService: [location changed: Location[mProvider=network,mTime=1491827442359,mLatitude=...]
04-10 14:30:42.370 5918-5918/net.fabiszewski.ulogger D/LoggerService: [location accuracy above limit: 848.0 > 500]
04-10 14:31:42.390 5918-5918/net.fabiszewski.ulogger D/LoggerService: [location changed: Location[mProvider=network,mTime=1491827502377,mLatitude=...]
04-10 14:31:42.390 5918-5918/net.fabiszewski.ulogger D/LoggerService: [location accuracy above limit: 848.0 > 500]
04-10 14:32:42.400 5918-5918/net.fabiszewski.ulogger D/LoggerService: [location changed: Location[mProvider=network,mTime=1491827562393,mLatitude=...]
04-10 14:32:42.400 5918-5918/net.fabiszewski.ulogger D/LoggerService: [location accuracy above limit: 848.0 > 500]
04-10 14:33:42.420 5918-5918/net.fabiszewski.ulogger D/LoggerService: [location changed: Location[mProvider=network,mTime=1491827622412,mLatitude=...]
04-10 14:33:42.420 5918-5918/net.fabiszewski.ulogger D/LoggerService: [location accuracy above limit: 848.0 > 500]
04-10 14:34:42.429 5918-5918/net.fabiszewski.ulogger D/LoggerService: [location changed: Location[mProvider=network,mTime=1491827682433,mLatitude=...]
04-10 14:34:42.429 5918-5918/net.fabiszewski.ulogger D/LoggerService: [location accuracy above limit: 848.0 > 500]
04-10 14:35:42.469 5918-5918/net.fabiszewski.ulogger D/LoggerService: [location changed: Location[mProvider=network,mTime=1491827742461,mLatitude=...]
04-10 14:35:42.469 5918-5918/net.fabiszewski.ulogger D/LoggerService: [location accuracy above limit: 848.0 > 500]
04-10 14:36:42.480 5918-5918/net.fabiszewski.ulogger D/LoggerService: [location changed: Location[mProvider=network,mTime=1491827802475,mLatitude=...]
04-10 14:36:42.480 5918-5918/net.fabiszewski.ulogger D/LoggerService: [location accuracy above limit: 848.0 > 500]
...
from ulogger-android.
Regarding f-droid builds we are affected by this issue. I hope it will be fixed soon. If it won't I will provide my own builds. I have not done it yet because it introduces incompatibility, as f-droid builds are signed with different key (users have to uninstall app each time they switch source).
from ulogger-android.
I'm more than happy to test things, and I can deal with un- and reinstalling.
Would you please provide such a debug build? (Unfortunately, my computer cannot run Android Studio: 32bit, disk space, etc.)
Also, would you please provide a gnupg public key? Because the logcat of the microg network location services is also relevant, but I'm not comfortable broadcasting where I live.
from ulogger-android.
Debug build for latest version:
from ulogger-android.
I am going to close this. Please reopen if you have more input.
from ulogger-android.
Related Issues (20)
- Multiple user on a map HOT 1
- Automation not working properly on Android 13 HOT 3
- Not fetching location on Android 11 (Lineage 18) HOT 13
- Tracking doesn't resume after reboot HOT 3
- Automation idea: `start new logger if synchronized` command HOT 4
- Feature Request: interval for live synchronization
- geoid height correction is missing HOT 5
- Burst upload generates 503 on my server HOT 1
- Sudden HTTP Error code 500 with Nextcloud/PhoneTracker HOT 3
- Exception: OCA\PhoneTrack\Controller\LogController::logUlogger(): Argument #2 ($lat) must be of type float, null given HOT 1
- mutual tls with client certificate [feature request] HOT 1
- Cannot upload location with images HTTP error 400 HOT 11
- Sotimes Upload getting 406 error HOT 1
- Reduce POST length in image Upload
- (dulicate due to network lag)Manual waypoint creation by external request?
- Manual waypoint creation by external request? HOT 1
- Can't download app via F-Droid HOT 5
- Week Rollover Problem persist HOT 1
- Number suffix for overwritten file appends to extension HOT 1
- Feature request: Use as a replacemrent for google location history
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ulogger-android.