Commit graph

40 commits

Author SHA1 Message Date
bc640051cf
Alphabetize functions in trackerservice. 2022-04-08 18:14:01 -07:00
75a0a3ae40
Some linting. 2022-04-08 18:13:59 -07:00
e3bc911de4
Refactor out TracklistElement, make Track more object-oriented.
I'm sure the reason for TracklistElement was to save memory by not
having the waypoints loaded, but the separation of Track /
TracklistElement creates lots of back-and-forth conversions and
mental overhead. I want to give this a try and see if it actually
causes any problems.

Moved a lot of helper functions into the classes they operate on.
2022-04-08 18:13:59 -07:00
3741d0baf5
Replace high/low accuracy with omit rests option.
I have been feeling that the high/low accuracy switch is a bit
misleading because while it can help us choose waypoints that
are sufficiently far apart from each other, the accuracy of any
individual waypoint isn't inherently better than normal. However,
the option to omit or keep rests allows the user to keep the raw
data or postprocess it in their own way; or accept the default
different-enough detection.
2022-04-08 18:13:55 -07:00
0c510d4a11
wip 2022-04-08 18:13:52 -07:00
7cb9904ab9
Rename STATE_TRACKING_NOT -> STATE_TRACKING_NOT_STARTED. 2022-04-08 18:13:50 -07:00
y20k
dd54c6dcf3
change arrangement of recording buttons from a vertical "speed dial" style to a horizontal layout (see also discussion at #115) - note: color theme adjustments (especially for night mode) are still needed 2022-04-05 22:19:36 +02:00
y20k
4858693516
updated copyright 2022-01-05 17:20:44 +01:00
y20k
dbb0a7802d
basic Material 3 UI theming 2021-12-15 14:10:33 +01:00
y20k
d22638da92
removes the Smothing slider (see #99) & added a "Total Distance Recorded" info at the top of the list of recordings 2021-09-16 15:53:31 +02:00
y20k
5639a42a30
Merge branch 'master' into preference-refactoring 2021-07-05 11:12:49 +02:00
y20k
1c7e7275bc
Refactor and optimize PreferencesHelper (see https://github.com/y20k/transistor/pull/359 and Credit to https://github.com/TacoTheDank) 2021-07-02 16:35:27 +02:00
TacoTheDank
09012a35a7 Refactor and optimize PreferencesHelper 2021-07-01 15:11:08 -04:00
y20k
36b891152c
Updated libraries 2021-06-24 21:56:48 +02:00
y20k
940aa2209b
request permission to use the step counter 2021-05-17 15:44:11 +02:00
y20k
d0c93e3124
begin calculating elevation only if queue is has enough data points (see #99) - (needs testing) 2021-05-08 21:59:14 +02:00
y20k
3c680042de
sanitiy check: do not add 0.0 altitudes - from locations, that do no have an altitude value - to the elevation calculation 2021-05-03 14:58:58 +02:00
y20k
7b1b518892
removed another bug in the elevation calculation :-/ 2021-05-03 12:49:15 +02:00
y20k
7663c82c88
removed a bug in the SimpleMovingAverageQueue (see https://github.com/y20k/trackbook/issues/99#issuecomment-830874285) 2021-05-03 09:26:29 +02:00
y20k
bb00e18312
use smoothed altitude values to get more realistic elevation data (see #99) - v2 (needs testing) 2021-05-02 22:51:22 +02:00
y20k
3fa589e21c
use smoothed altitude values to get more realistic elevation data (see #99) - v1 (needs testing) 2021-05-02 17:29:13 +02:00
liinahamari
10a523a42f Fixing bug with lack of proper unsubscribing of networkLocationListener 2021-04-08 07:45:42 +03:00
y20k
1c70fe1b5e
use SimpleFastPointOverlay for the track overlay (see #96) 2021-03-15 17:43:31 +01:00
y20k
c193e8a475
save temp track only every 9+ seconds (see #96) 2021-03-15 11:47:25 +01:00
y20k
eb296188d8
Implements most of of the changes proposed by @TacoTheDank (thank you!) in this pull request (see https://github.com/y20k/trackbook/pull/91) 2020-11-18 18:19:52 +01:00
y20k
2776f00eaa
addresses #78 2020-09-02 16:00:08 +02:00
y20k
7d47068bb0
Reverts code style changes introduced in 4dcea979 and 66f4865d 2020-08-03 11:39:05 +02:00
TacoTheDank
66f4865de3 Miscellaneous code cleanup 2020-07-31 21:04:52 -04:00
TacoTheDank
4dcea97982 Adjust codestyle to an .editorconfig 2020-07-31 20:06:53 -04:00
y20k
f686cac359
fixes calculation auf pauses & displays start time in addition to start date 2020-05-14 16:16:34 +02:00
y20k
59c736630f
should fix crash described in issue #70 - adds check if file manager is present 2020-04-01 17:26:55 +02:00
y20k
3324f859b7
removed debug logging from service 2020-03-13 13:34:37 +01:00
y20k
d68a767e3e
do not add the distances between "recording paused" and "recording resumed" 2020-03-02 16:45:12 +01:00
y20k
382d4e73c1
store timespan that trackbook was paused, if resume feature is used 2020-02-18 17:09:54 +01:00
y20k
063d84e39f
cleaning up the tracker service a bit 2020-02-06 15:55:15 +01:00
y20k
ded9d77213
was requesting location updates longer than it needed 2020-01-31 23:24:28 +01:00
y20k
9591f9f8c0
quick settings tile was unnecessarily bound to tracker service. better to use an intent to start stop recording 2020-01-31 21:15:33 +01:00
y20k
bdc13cfd61
New Theme setting (Dark Mode) 2020-01-28 17:39:45 +01:00
y20k
882a02eb42
Wired up the GPS-only switch 2020-01-09 13:23:26 +01:00
y20k
99265afe58
Kotlin Rewrite - everything is new 2020-01-02 18:00:37 +01:00