Dennis Guse
cecc586868
Bugfix: export was not checking properly if file exists.
...
Fixes #1283 .
2022-06-19 17:24:18 +02:00
Dennis Guse
f956e7fab3
Duplicate variable name.
2022-06-19 17:21:56 +02:00
William Pettersson
128b95cd83
Fix voice announcement rounding problem
...
We extracted integral parts before rounding, but String.format does
rounding which caused occasional issues. To alleviate, we need to round
before passing to String.format. All this rounding logic has now been
moved into appendDecimalUnit, and tests have been added to check that
rounding works correctly.
Fixes : #1285
2022-06-19 16:39:46 +02:00
Román Ginés
895a5c2b2a
Bugfixed: DistanceFormatter was using the wrong unitSystem. Fixes #1288 .
2022-06-18 23:18:04 +02:00
Dennis Guse
a283464331
Add nautical miles (with feet for altitude).
...
Fixes #1280 .
2022-06-17 19:57:40 +02:00
Dennis Guse
1c3a2bd2e4
Removed altitude smoothing completely: now it will just be the plain GPS-reported value.
...
Was only used for statistics in exports.
Follow-up to #1241 .
2022-06-11 14:41:56 +02:00
Dennis Guse
0b326a77c2
Bugfix: Elevation in charts smoothing removed as it was broken.
...
Fixes #1241 .
2022-06-11 14:24:41 +02:00
Román Ginés
ecd7405a8c
TrackStoppedActivity: added discard button option. Fixes #1267 .
2022-06-07 09:55:09 +02:00
Dennis Guse
9cf88c00b0
Voice announcements: time is moving time (settings).
2022-06-06 17:02:31 +02:00
Jonas Kalderstam
00351136f2
Voice announcements: added settings for what to announce
2022-06-06 17:02:31 +02:00
Dennis Guse
31fc0adabc
Fullscreen: now more fullscreen.
2022-06-03 17:26:33 +02:00
Peter Storch
1108684d06
Add "show on map" format selection dialog
2022-05-30 07:51:00 +02:00
Dennis Guse
8a3e50ef9b
BLE sensors: faster connection.
2022-05-29 22:50:55 +02:00
Dennis Guse
585c2234eb
Bugfix: request permissions in TrackListActivity.
...
Introduced in 9d64989ef1
2022-05-29 18:06:00 +02:00
Román Ginés
c5d7ea4245
Bugfixes: TrackStoppedActivity on smaller devices. Fixes #1257 .
2022-05-29 18:02:57 +02:00
Dennis Guse
281cd8a861
Merge pull request #1248 from OpenTracksApp/reset#1247
...
Allow settings reset and import/export while recording
2022-05-28 13:48:56 +02:00
Dennis Guse
f529726218
KML: icons (start, stop, markers) use default icon.
...
Until now we used external URLs from Google to fetch proper icons.
Fixes #126 .
2022-05-26 10:23:27 +02:00
Dennis Guse
d29ee6da3d
Settings: allow import/export settings while recording.
...
Fixes #1247 .
2022-05-25 22:03:16 +02:00
Dennis Guse
033b5211ea
Settings: allow reset settings while recording.
...
Fixes #1247 .
2022-05-25 22:01:51 +02:00
Dennis Guse
5d2414977b
TrackRecordingService: remove pause functionality.
...
Fixes #1233 .
2022-05-23 07:41:50 +02:00
Dennis Guse
ac8eea377e
Bugfix: resume functionality was not starting recording.
...
Introduced in 9d64989ef1
2022-05-21 09:16:43 +02:00
Dennis Guse
e409b315b4
Refactor permission requests.
...
Fixes #1224 .
2022-05-19 19:30:20 +02:00
Dennis Guse
24eb768707
Export: filename template now distinguishes between {date} and {time}.
2022-05-19 19:28:15 +02:00
Peter Storch
17ad13d559
Add ExceptionHandler and ShowErrorActivity
2022-05-19 06:12:58 +02:00
Dennis Guse
3b71212905
Public API: respect post-workout export.
...
Fixes #1225 .
2022-05-15 20:19:59 +02:00
Dennis Guse
16a29c5e31
Bugfix: for a recording Track TrackListActivity needs to open TrackRecordingActivity.
...
Introduced in 9d64989ef1
Fixes #1235 .
2022-05-15 08:00:35 +02:00
Dennis Guse
e421164282
Bugfix: fileformat template was not loaded (NPE).
...
Fixes #1232 .
2022-05-13 19:28:43 +02:00
Pixtxa
de01157964
Changed second t.getLatitude() to t.getLongitude()
...
I thought it was excel until I realized, the data is also broken in newly generated csv files
2022-05-12 22:30:01 +02:00
Dennis Guse
8ef51ec318
Bugfix: unitSystem not loaded correctly.
...
Introduced in a5b44175a3
Fixes #1228 .
2022-05-12 07:44:34 +02:00
Dennis Guse
d2139d70ad
Bugfix: sharing track added file suffix twice.
...
Introduced in 0d3cf4ce0d .
2022-05-11 22:22:45 +02:00
Dennis Guse
815f111ca6
TrackRecordingService: use main looper explicitly.
2022-05-11 20:56:52 +02:00
Dennis Guse
40d2bf0c22
Bluetooth: use TrackRecording handler for callback.
...
Otherwise the thread is not defined and a SecurityException may be triggered when inserting data into the ContentProvider.
Sadly, below API26 this needs to be done manually.
Fixes #1165 .
2022-05-11 20:56:52 +02:00
Dennis Guse
3a23a412c8
Cleanup: use explicit preference identifiers for TrackFileFormat.
2022-05-08 20:49:24 +02:00
Dennis Guse
9d64989ef1
Public API: implemented STOP properly.
...
Fixes #1103 .
2022-05-08 20:29:13 +02:00
Román Ginés
da62d26409
UI refactoring with a Bottom App Bar.
...
Only one button to play/stop.
Stop Activity to edit track just recorded, resuming or finishing.
Logo color to FF6D00.
Fixes #1078 #437 #575 #1094 .
2022-05-08 20:06:24 +02:00
Dennis Guse
094a20c379
Vertical accuracy: process and import/export.
...
Fixes #78 .
2022-05-04 20:18:45 +02:00
Dennis Guse
0d3cf4ce0d
Configurable filename for export: used for all automatic exports after recording, exporting all, and sharing tracks.
...
Fixes #512 .
2022-05-03 20:06:29 +02:00
Dennis Guse
a5b44175a3
Convert metricUnits boolean into an enum.
...
Fixes #1199 .
2022-04-28 22:35:38 +02:00
Dennis Guse
db5c9479df
Implement SpeedFormatter.
2022-04-28 22:35:38 +02:00
Dennis Guse
16f238f34b
Refactoring: DistanceFormatter handles metricUnits.
2022-04-28 22:35:38 +02:00
Dennis Guse
a57b5cd6ee
From notification, open TrackRecordingActivity.
...
Fixes #1205 .
2022-04-26 18:31:14 +02:00
Román Ginés
5e54cb8fda
Bugfixed: intervals dropdown shows incorrect unit when metric units is selected.
...
Fixes #1201 .
2022-04-24 19:23:44 +02:00
Dennis Guse
6741ef4d9f
Bugfix: notification opens TrackListActivity instead of TrackRecordingActivity.
...
If a recording is running, we need to pass the trackId to TrackRecordingActivity as otherwise it crashes when needing it.
Fixes #1156 .
2022-04-24 16:58:36 +02:00
Dennis Guse
f2ac1edc4b
Create DistanceFormatter.
...
Fixes #1197
2022-04-23 20:12:43 +02:00
Dennis Guse
374959f340
Add CSV as export format (TrackPoints only).
...
Fixes #999 .
2022-04-23 15:03:05 +02:00
Dennis Guse
3815ee6c59
Voice announcements and Interval: add sub km/miles options.
...
Fixes #1195 .
2022-04-23 14:16:00 +02:00
Dennis Guse
5cf8b67954
Import/Export: horizontal accuracy.
...
Fixes #683 .
2022-04-23 12:49:07 +02:00
Brian J. Murrell
fb70486bdc
Include GPS accuracy in GPX export
...
Add a new "accuracy" tag to the opentracks extension as there was no
other extension providing this tag that could be found.
Signed-off-by: Brian J. Murrell <brian@interlinx.bc.ca >
2022-04-23 12:49:07 +02:00
Dennis Guse
18b21a6a3e
Bugfix: prevent race condition in TrackPointCreator.
...
This race condition leads to a crash in TrackStatisticsUpdater as the time might appear to move backwards if the created TrackPoints are not stored in order. Might happen if multiple sensors (BLE or GPS) are used in simultaneously.
Every method affected by a race condition is now synchronized.
Problem was introduced in c4b8082efc
Fixes #1151 .
2022-04-23 12:48:19 +02:00
Dennis Guse
71288cd9be
Bugfix: onDestroy() first shutdown sensors.
...
Fixes #1189 .
2022-04-22 06:51:15 +02:00