47c338f38f
Rename tracker_service variables for clarity.
2023-12-24 22:19:35 -08:00
cd25415e9b
Remove unneeded thismapfragment.
2023-12-24 22:18:34 -08:00
a75ee66ca4
Remove code for toggleLocationErrorBar.
2023-12-24 22:18:10 -08:00
70e6e64918
Let "when was I here" button query all device ids.
2023-12-24 19:47:13 -08:00
d5df922d3d
Version 1.2.1.
2023-12-24 19:28:33 -08:00
a27b8713a9
A little bit of extra logging.
2023-12-03 21:09:23 -08:00
42311b446b
Show reason for dead state on notification.
2023-11-30 22:41:10 -08:00
4e2beedaef
Rename gave_up_at to dead_at.
2023-11-30 22:40:38 -08:00
33405cd063
Reload the database when resuming full_power.
...
I had an incident where I was tampering with the database on my
computer, being synced over Syncthing, and I caused a conflict that
made the app stop recording, even though the app UI continued to show
the normal recording icons. Closing and re-opening the db connection
when leaving the house would have helped prevent that.
2023-11-30 17:43:46 -08:00
37c5754a24
Go to dead state if app tries to record without database ready.
2023-11-30 17:41:57 -08:00
b84185ea4e
Escape ampersands and angle brackets from track title in GPX.
2023-11-30 17:41:21 -08:00
52dbae2f41
Remove commit parameter, do it on the caller side.
2023-11-30 17:41:00 -08:00
0fc6971d9d
Show database ready time in debug info.
2023-11-30 17:38:23 -08:00
c6a0212fb8
Add git.voussoir.net mirror.
2023-09-11 21:13:37 -07:00
7a769bddf4
Version 1.2.0.
2023-09-04 12:36:07 -07:00
38675acb6c
Show accuracy in debug stats.
2023-09-04 12:36:07 -07:00
7d05b4c777
Refer to system time as "clock" instead of "now".
2023-09-04 12:36:07 -07:00
e7463c5125
When interpolating, immediately select the new point.
...
This makes it easier to do multiple interpolations in a row.
2023-09-03 12:49:29 -07:00
b4e1762a2f
Move select_trkpt into its own function.
2023-09-03 12:49:29 -07:00
00ee14303d
On vibrate on wake if debug mode is active.
...
The vibration provides a confirmation that the device's motion sensors
work as expected. But it makes sense to turn that off when not
debugging.
2023-09-03 12:49:29 -07:00
dadce17f5e
Update doze rant on readme.
2023-09-03 10:57:53 -07:00
3710755bc1
Rewrite TrackerService to be more like a state machine.
2023-04-30 15:15:10 -07:00
2e5be6a4e4
Commit database when arriving at home.
...
Since trkpt will stop capturing points, it will not reach the later
part of the handler that commits when a new point is 30 seconds
after the previous commit.
2023-04-12 20:58:58 -07:00
2899bb992d
Different straightening algorithm, dist based instead of time based.
...
Added a 30-meter distance check to prevent big editing disasters
but I'm not fully satisfied with this feature yet. I think this
is a little better than before though.
2023-04-12 17:29:22 -07:00
a181d67150
Add preference max accuracy, filters inaccurate points from view.
2023-04-09 20:27:08 -07:00
3b1ccb7781
Use accuracy=0 for import, not null.
2023-04-09 10:33:53 -07:00
c689d9e37f
Rearrange track statistics.
2023-04-06 16:53:40 -07:00
a48b2d8107
Version 1.0.3.
2023-04-05 18:21:50 -07:00
c722e7cad1
Let notification say (home) when at home.
2023-04-05 18:06:43 -07:00
540f09525d
Add notice of wakelock to readme.
2023-04-05 18:05:08 -07:00
47e0c36c3a
Add straighten button, straightens trkpts between two points.
2023-04-05 18:04:56 -07:00
a8e2bb26fd
Add interpolate button, adds point between two points.
2023-04-05 18:04:27 -07:00
cee0f7bef4
Add draggable marker to move trkpts in history.
2023-04-04 19:06:15 -07:00
07bd7bbb0b
Add optional commit parameter to database functions.
2023-04-04 18:58:25 -07:00
17e85379f8
Tap the map background to deselect trkpt.
2023-04-04 18:42:03 -07:00
8b396f3bba
Fix logic error releasing wakelock.
2023-04-04 18:05:43 -07:00
9dacf8b68e
Improve visual centering of app icon.
2023-04-03 19:55:39 -07:00
b463752774
Increase time until sleep and reduce watchdog pace.
2023-04-03 19:07:03 -07:00
4eb67120a5
Don't go to dead from sleep, doze produces extremely long delays.
2023-04-03 19:06:27 -07:00
9b81b7ea19
Remove unused code.
2023-04-03 19:04:25 -07:00
ccde7c9f81
Use current time in notification setwhen.
...
The text of the notification will still say the most recent location,
but in going from fullpower to dead I want the time of the notification
itself to be the moment of rip.
2023-04-03 19:03:54 -07:00
548dcf2c58
Add wakelock to prevent doze when not at home.
...
Recently I took a 90 minute drive, and trkpt missed about 15
minutes of it. It wasn't until now that I realized it probably
went into doze mode due to the low accelerometer movements.
If the device is plugged in it does not doze, but to achieve the
no-friction goal we should not be required to take it out of our
pocket and plug in all the time for fear of missing points.
2023-04-03 19:03:05 -07:00
f55d683fe7
Move some strings to strings.xml.
2023-04-03 18:58:38 -07:00
f6f5bf5809
Don't destroy the notification after service stops.
2023-04-02 20:35:43 -07:00
97c2ccb4d5
Don't treat unbind as dead.
2023-04-02 20:35:13 -07:00
328e56cb05
Don't use title case for strings on settings page.
2023-04-02 18:54:35 -07:00
1637ef16d6
Improve isolate_trkseg feature by querying its endpoints for more.
2023-04-02 18:41:16 -07:00
01a313a69c
Describe exact power management state transitions in readme.
2023-04-02 17:18:33 -07:00
04d27ab984
Double the give up time during sleep.
...
If you're gonna die in your sleep, you may as well sleep in.
2023-04-02 16:16:59 -07:00
531ff36ed0
Add preference to show debug information on main screen.
2023-04-02 16:13:56 -07:00