Commit graph

622 commits

Author SHA1 Message Date
04fa76249b checkpoint 2023-03-09 21:34:02 -08:00
df77b089ac checkpoint 2023-03-09 20:24:06 -08:00
2568af3bb1 checkpoint 2023-03-06 20:52:41 -08:00
7956f44ce4 Was experimenting with automatic GPX export. Hardcoded path.
These changes are several months old, I am just now committing them
because I want to move on to a different experiment.
2023-03-04 21:29:18 -08:00
edcb149ac7
Try a new location button position. 2022-04-08 18:14:01 -07:00
629973e323
Item range changed probably not actually necessary. 2022-04-08 18:14:01 -07:00
bc640051cf
Alphabetize functions in trackerservice. 2022-04-08 18:14:01 -07:00
8a72bb2b2e
Remove coroutine when deleting track, just do it synchronously.
My coroutine solution worked for bringing the onboarding back, but
it broke the cancel button since it touched a view out of the owning
thread. I probably could fix that by adding a coroutine for cancel
too, but the delete operation should be so fast that synchronous
might not even be a problem.
2022-04-08 18:14:00 -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
45de00b9c5
setOnItemReselectedListener attempt and failure. 2022-04-08 18:13:58 -07:00
e73023c892
Request focus when renaming track. 2022-04-08 18:13:58 -07:00
222422b884
Use coroutine to show onboarding again after deleting final track. 2022-04-08 18:13:57 -07:00
d6a14956e1
Let the json file use the timestamp name since seconds are fixed. 2022-04-08 18:13:57 -07:00
b01a900fd3
Fix live statistics not disappearing when track cleared. 2022-04-08 18:13:56 -07:00
ac5c3c2dd5
Remove prefs load/save function comments. 2022-04-08 18:13:55 -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
981e8806b1
Add <sat> to each trkpt. 2022-04-08 18:13:54 -07:00
74cfbaedea
Simplify createGpxString with appendLine and string interpolation. 2022-04-08 18:13:53 -07:00
c3922240e0
Pass the location's satellites through the constructor. 2022-04-08 18:13:53 -07:00
0c510d4a11
wip 2022-04-08 18:13:52 -07:00
77cfcf202f
Add notifyItemRangeChanged to help recyclerview. 2022-04-08 18:13:51 -07:00
b7f641515a
Rename DIALOG_EMPTY_RECORDING -> DIALOG_RESUME_EMPTY_RECORDING. 2022-04-08 18:13:50 -07:00
7cb9904ab9
Rename STATE_TRACKING_NOT -> STATE_TRACKING_NOT_STARTED. 2022-04-08 18:13:50 -07:00
4d17f64766
New strings for new main buttons. 2022-04-08 18:13:49 -07:00
10b27b266f
Android recommends not using the word "button" in button name strings. 2022-04-08 18:13:47 -07:00
2a63299beb
Remove github issue link because my fork is experimental only.
Nobody should submit issues to y20k due to my fork code.
2022-04-08 18:13:47 -07:00
1a0cbd4524
Set my own application id. 2022-04-08 18:13:46 -07:00
y20k
76e8ef132e
Merge pull request #116 from zo-shin/New-Strings
New zh-rCN Strings
2022-04-06 15:10:55 +02:00
y20k
109876af74
color scheme update 2022-04-06 14:45:38 +02:00
Zo Shin
4d1eb52189 New zh-rCN Strings 2022-04-06 19:00:50 +08: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
517954020a
Add yes/no prompt before clearing active track. 2022-04-04 15:12:09 -07:00
y20k
472f71f036
Merge pull request #103 from zo-shin/New-Strings
Reformatted zh-rCN Strings
2022-04-04 15:24:02 +02:00
y20k
c99c8d343d
removed the transparent status bar (temporarily) 2022-03-24 20:54:30 +01:00
Allan Nordhøy
63036e5668
Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (111 of 111 strings)
2022-01-29 09:56:41 +01:00
y20k
9a7fc6fcb9
display distance and duration on map while Trackbook is recording. 2022-01-11 17:54:49 +01:00
Luna Jernberg
264f704124
Translated using Weblate (Swedish)
Currently translated at 100.0% (109 of 109 strings)
2022-01-10 14:52:53 +01:00
Zo Shin
ee0509a85f Reformatted Strings in zh-rCN 2022-01-06 21:55:18 +08:00
y20k
4858693516
updated copyright 2022-01-05 17:20:44 +01:00
badlop
5039cf6877
Translated using Weblate (Spanish)
Currently translated at 100.0% (109 of 109 strings)
2021-12-29 12:50:34 +01:00
Nathan
995769d64b
Translated using Weblate (French)
Currently translated at 100.0% (109 of 109 strings)
2021-12-21 16:50:31 +01:00
Milo Ivir
ca6ae8458e
Translated using Weblate (Croatian)
Currently translated at 100.0% (109 of 109 strings)
2021-12-19 17:54:05 +01:00
Oğuz Ersen
964ed7d396
Translated using Weblate (Turkish)
Currently translated at 100.0% (109 of 109 strings)
2021-12-16 16:52:06 +01:00
mm4c
69a0a80a4e
Translated using Weblate (Dutch)
Currently translated at 100.0% (109 of 109 strings)
2021-12-16 16:52:05 +01:00
Heimen Stoffels
65fe6b99f8
Translated using Weblate (Dutch)
Currently translated at 100.0% (109 of 109 strings)
2021-12-15 15:33:58 +01:00
Eric
3f14dc7b97
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (109 of 109 strings)
2021-12-15 14:55:14 +01:00
y20k
dbb0a7802d
basic Material 3 UI theming 2021-12-15 14:10:33 +01:00
mm4c
8ba303d0bd
Translated using Weblate (Dutch)
Currently translated at 100.0% (108 of 108 strings)
2021-12-10 18:51:32 +01:00
Fabiola Maurice
bf0cc881be
Translated using Weblate (Spanish)
Currently translated at 100.0% (108 of 108 strings)
2021-12-04 03:51:00 +01:00
mondstern
9776e39161
Translated using Weblate (Swedish)
Currently translated at 100.0% (108 of 108 strings)
2021-11-12 21:50:01 +01:00
mondstern
22d8b758ad
Translated using Weblate (Polish)
Currently translated at 100.0% (108 of 108 strings)
2021-11-07 17:53:12 +01:00
mondstern
fb9ed2a1da
Translated using Weblate (Danish)
Currently translated at 100.0% (108 of 108 strings)
2021-11-07 17:53:11 +01:00
mondstern
94e0c33012
Translated using Weblate (German)
Currently translated at 100.0% (108 of 108 strings)
2021-11-07 17:53:10 +01:00
mondstern
fba8d8814b
Translated using Weblate (Russian)
Currently translated at 100.0% (108 of 108 strings)
2021-11-04 01:23:27 +01:00
mondstern
ea7ecdcdcb
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (108 of 108 strings)
2021-11-04 01:23:26 +01:00
mondstern
d98e479256
Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (108 of 108 strings)
2021-11-04 01:23:26 +01:00
mondstern
550c701888
Translated using Weblate (Italian)
Currently translated at 100.0% (108 of 108 strings)
2021-11-04 01:23:25 +01:00
mondstern
538900b275
Translated using Weblate (Indonesian)
Currently translated at 100.0% (108 of 108 strings)
2021-10-30 06:31:22 +02:00
mondstern
258d7c6857
Translated using Weblate (Italian)
Currently translated at 99.0% (107 of 108 strings)
2021-10-30 06:31:22 +02:00
y20k
0ef9ea8dbc
Basic Android 12 compatibility + file names now include milliseconds (see #110) 2021-10-27 21:01:24 +02:00
Milo Ivir
43067329e3
Translated using Weblate (Croatian)
Currently translated at 100.0% (108 of 108 strings)
2021-10-26 23:01:17 +02:00
Fabiola Maurice
c7ef15942e
Added translation using Weblate (Spanish) 2021-10-24 18:02:27 +02:00
Nathan
02a9e12afe
Translated using Weblate (French)
Currently translated at 100.0% (108 of 108 strings)
2021-10-22 16:48:45 +02:00
y20k
04f82f42bf
updated available languages 2021-09-30 10:06:38 +02:00
y20k
c7c72a1ba6
preparing release 2021-09-30 10:02:49 +02:00
Oğuz Ersen
7ed419c1ed
Translated using Weblate (Turkish)
Currently translated at 100.0% (108 of 108 strings)
2021-09-17 17:36:40 +02:00
Eric
b96efc9de1
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (108 of 108 strings)
2021-09-17 17:36:39 +02:00
Heimen Stoffels
e527b999ed
Translated using Weblate (Dutch)
Currently translated at 100.0% (108 of 108 strings)
2021-09-17 17:36:39 +02:00
y20k
b8c3da2619
Save and load the state of the map (map center and zoom level) for a recording (was broken before) 2021-09-16 22:44:34 +02: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
Reza Almanda
a9ecdcc3ab
Translated using Weblate (Indonesian)
Currently translated at 100.0% (106 of 106 strings)
2021-09-15 08:34:34 +02:00
Luna Jernberg
1e37ae5e30
Translated using Weblate (Swedish)
Currently translated at 20.7% (22 of 106 strings)
2021-08-17 19:34:47 +02:00
Eric
3f40b571d7
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (106 of 106 strings)
2021-08-14 13:34:14 +02:00
Jane Kong
101e2bc26f
Translated using Weblate (Chinese (Simplified))
Currently translated at 99.0% (105 of 106 strings)
2021-08-13 09:34:39 +02:00
y20k
0ddd056f9c
Merge remote-tracking branch 'origin/master' 2021-07-05 13:32:18 +02:00
y20k
1a119f75d5
Removed a leftover from an earlier merge 2021-07-05 13:32:08 +02:00
y20k
cc8cdf6451
Merge pull request #106 from TacoTheDank/activityresult
Migrate to ActivityResult APIs
2021-07-05 11:41:04 +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
855b0a0249 Migrate to ActivityResult APIs 2021-07-01 15:59:27 -04:00
TacoTheDank
09012a35a7 Refactor and optimize PreferencesHelper 2021-07-01 15:11:08 -04:00
y20k
c81105186f
fixes a crash when trying to delete a freshly recorded track 2021-06-28 18:47:00 +02:00
y20k
36b891152c
Updated libraries 2021-06-24 21:56:48 +02:00
y20k
18a1164578
store total distance, duration, etc. 2021-06-21 17:47:59 +02:00
Nathan
cd621ad368
Translated using Weblate (French)
Currently translated at 100.0% (106 of 106 strings)
2021-05-26 16:34:18 +02:00
Milo Ivir
8a1e6cb394
Translated using Weblate (Croatian)
Currently translated at 100.0% (106 of 106 strings)
2021-05-17 18:31:53 +02:00
y20k
940aa2209b
request permission to use the step counter 2021-05-17 15:44:11 +02:00
Axus Wizix
583be6d95e
Translated using Weblate (Russian)
Currently translated at 50.9% (54 of 106 strings)
2021-05-12 08:32:42 +02:00
Oğuz Ersen
781bb67568
Translated using Weblate (Turkish)
Currently translated at 100.0% (106 of 106 strings)
2021-05-12 08:32:41 +02:00
Heimen Stoffels
10dc465100
Translated using Weblate (Dutch)
Currently translated at 100.0% (106 of 106 strings)
2021-05-12 08:32:41 +02:00
GRZ
605d69d16c
Added translation using Weblate (Russian) 2021-05-10 20:31:50 +02:00
y20k
5fe4b8d13e
changed phrasing for the accuracy setting 2021-05-10 14:39:07 +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
Milo Ivir
9f26a30b75
Translated using Weblate (Croatian)
Currently translated at 100.0% (106 of 106 strings)
2021-05-08 15:32:38 +02:00
J. Lavoie
7df424d99d
Translated using Weblate (French)
Currently translated at 100.0% (106 of 106 strings)
2021-05-07 01:33:39 +02:00
Oğuz Ersen
cff7b290e1
Translated using Weblate (Turkish)
Currently translated at 100.0% (106 of 106 strings)
2021-05-04 18:32:07 +02:00
Milo Ivir
5cfec0caa8
Translated using Weblate (Croatian)
Currently translated at 96.2% (102 of 106 strings)
2021-05-04 18:32:07 +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
Eugenia Russell
9e8b127c70
Translated using Weblate (Greek)
Currently translated at 6.9% (7 of 101 strings)
2021-04-29 21:35:44 +02:00
Eugenia Russell
bd7ff84c09
Added translation using Weblate (Greek) 2021-04-28 20:52:40 +02:00
Milo Ivir
380843cc31
Translated using Weblate (German)
Currently translated at 100.0% (101 of 101 strings)
2021-04-26 13:32:05 +02:00
mm4c
3a6381f981
Translated using Weblate (Dutch)
Currently translated at 100.0% (101 of 101 strings)
2021-04-24 11:32:03 +02:00
mm4c
0f975e20d9
Translated using Weblate (Dutch)
Currently translated at 100.0% (101 of 101 strings)
2021-04-16 11:26:57 +02:00
liinahamari
10a523a42f Fixing bug with lack of proper unsubscribing of networkLocationListener 2021-04-08 07:45:42 +03:00
Milo Ivir
0be1904cba
Translated using Weblate (Croatian)
Currently translated at 100.0% (101 of 101 strings)
2021-03-20 13:18:12 +01:00
y20k
9086f4801f
Merge pull request #98 from zo-shin/Revised-CN-Strings
Revised zh-rCN Strings
2021-03-16 16:48:13 +01:00
y20k
378777260f
Merge remote-tracking branch 'origin/master' 2021-03-16 16:47:53 +01:00
y20k
89c962c9a8
reversed the overlay order (improves the "mark starred" feature) 2021-03-16 16:47:47 +01:00
Nathan
4eaf0080a5
Translated using Weblate (French)
Currently translated at 100.0% (101 of 101 strings)
2021-03-16 14:03:02 +01:00
Reza Almanda
3ee02b813f
Translated using Weblate (Indonesian)
Currently translated at 100.0% (101 of 101 strings)
2021-03-16 14:03:02 +01:00
Zo Shin
2a49dd2a8b Revised zh-rCN Strings 2021-03-16 18:44:16 +08:00
y20k
7ad12a2670
use SimpleFastPointOverlay for the track overlay -> ANTI_ALIAS_FLAG for waypoints (see #96) 2021-03-15 18:09:47 +01: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
Oğuz Ersen
dbad7bb1cb
Translated using Weblate (Turkish)
Currently translated at 100.0% (101 of 101 strings)
2021-03-14 12:02:51 +01:00
Allan Nordhøy
27d91cb6f2
Translated using Weblate (Norwegian Bokmål)
Currently translated at 89.1% (90 of 101 strings)
2021-03-14 12:02:51 +01:00
Heimen Stoffels
27888e72c2
Translated using Weblate (Dutch)
Currently translated at 100.0% (101 of 101 strings)
2021-03-14 12:02:51 +01:00
y20k
7d690dc2eb
version number increased 2021-03-12 22:31:58 +01:00
d0f33b202a
Replace 15s interval, 15m threshold with statistical formula.
These changes increase the rate at which points are recorded to
the track without decreasing track quality. Users with fine-grained
GPS units should see much more accurate tracks.
2021-03-12 12:03:28 -08:00
y20k
fa43dde017
mark start and end of a track with a pin icon (see #95) 2021-03-09 22:27:42 +01:00
y20k
dd25da53ce
uploaded SVG assets for location marker 2021-03-09 14:54:06 +01:00
y20k
5a75b3fc3d
Use Location "Needle" as the the endpoint marker (see #95) 2021-03-08 15:18:12 +01:00
y20k
3f9dd74797
mark end of a track with a flag icon (see #95) 2021-03-04 21:03:12 +01:00
Zo Shin
9fe35634a3 Strings Amendments 2021-01-11 19:12:04 +08:00
y20k
47efd71ec2
prevents the renaming of a recording to zero characters 2020-12-23 12:39:13 +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
Prachi Joshi
1b69980491
Added translation using Weblate (Marathi) 2020-11-03 19:39:20 +01:00
Marco Bresciani
f83cf63020
Translated using Weblate (Italian)
Currently translated at 100.0% (101 of 101 strings)
2020-10-20 12:26:53 +02:00
Marco Bresciani
e2b43f0922 Update Italian translations
Re-set the file structure to the strings.xml reference file and complete translations.
2020-10-19 10:51:38 +02:00
y20k
0bc161396f
catch an exception that, may come up, when the default system file picker is disabled (see #70 & #81) 2020-10-14 10:24:17 +02:00
y20k
5d041e0aeb
preparing release 2020-10-13 22:13:14 +02:00
y20k
11610cca87
addresses #81 - saves gpx files without a file manager present check 2020-10-13 16:52:12 +02:00
y20k
420c18082c
addresses issue #84 (Start and stop date and time are the same) 2020-10-11 18:21:16 +02:00
Oğuz Ersen
026916b0d0
Translated using Weblate (Turkish)
Currently translated at 100.0% (101 of 101 strings)
2020-10-10 20:26:45 +02:00
Oğuz Ersen
7e1a5a94cf
Added translation using Weblate (Turkish) 2020-10-09 18:39:26 +02:00
y20k
40805cde84
Preparing release 2020-10-06 21:54:42 +02:00
y20k
7805f6aaeb
make Trackbook work better with different status bar heights (e.g. on phones with camera cutouts.) 2020-10-05 14:00:44 +02:00
y20k
acfb902a39
Added Brazilian Portuguese to AUTHORS and to build file - THX @iraamaro 2020-09-30 17:26:25 +02:00
iramaro
4d6bd1dea5 fixed file for pt-rBR. 2020-09-30 02:57:46 -03:00
iramaro
e176d4bdfe pt-rBR translation. 2020-09-30 02:50:02 -03:00
y20k
54647b223c
prevents writing empty text files 2020-09-16 13:41:11 +02:00
y20k
371c521a85
preparing release 2020-09-02 16:00:57 +02:00
y20k
2776f00eaa
addresses #78 2020-09-02 16:00:08 +02:00
y20k
cdcd925930
Merge pull request #77 from zo-shin/Revised-zh-rCN
Revised zh-rCN Strings
2020-08-27 13:59:56 +02:00
Matthias Bläsing
9a234f42dc Fix XML structure for gpx export of recorded track
- gpx namespace is connected to schema location, but namespace is not
  attached to element ("xmlns" attribute is missing on "gpx" element)

- "name" element does not exist as a child of "gpx", but as a child of
  "metadata", which in turn is a child of "gpx"

- the order of the child elements of the "trkpt" element is reversed
2020-08-24 20:38:30 +02:00