Commit Graph

433 Commits

Author SHA1 Message Date
Dennis Guse d6617f61b7 Cleanup: use PreferenceUtils.isKey(List). 2025-10-15 18:10:35 +02:00
Dennis Guse 6f97399aeb Migrate TrackDeletionService to WorkManager.
Part of #1315.
2025-10-14 19:13:10 +02:00
Dennis Guse ea4193a562 Bugfix: GPS-based data in UI should not drop back to zero.
Likely introduced b9ed5e28e0.
2025-03-07 17:45:31 +01:00
Dennis Guse 1d5f65be48 Position: use for TrackPoint. 2025-03-01 23:05:05 +01:00
Dennis Guse a6d318d970 Cleanup: move GpsManager into sensors package. 2025-03-01 22:51:48 +01:00
Dennis Guse 0e0958c5e8 Announcements: add current heartrate.
Fixes #1635.
2024-12-29 12:38:15 +01:00
Dennis Guse 073b3d2052 Announcements: added current time.
Fixes #1683.
2024-12-28 21:07:45 +01:00
Dennis Guse 333bc6f31b Sensor data: use monotonic clock.
Part of #1966.
2024-12-28 17:33:53 +01:00
Dennis Guse 522d9ebe2e Public API: allow marker creation.
Fixes #2031.
2024-12-21 20:46:09 +01:00
Dennis Guse f7f58141de Added settings for disabling idle functionality. 2024-10-18 19:57:10 +02:00
Dennis Guse 2e7a3b7465 Use AltitudeConverterCompat instead of custom solution.
Fixes #1920.
2024-09-14 16:05:32 +02:00
Peter Storch 389c4bed96 fix #1957 open MarkerEditActivity to receive external marker (#1960)
* fix #1957 add CreateMarkerActivity to receive external marker
2024-07-30 15:24:18 +02:00
Dennis Guse e442558eed Introduced Position.
Internal value object replacing android.location.Location.

Follow-up to #1898.
2024-07-06 14:51:45 +02:00
Peter Hercek 6cfc05af82 support for lap cycling power in the announcer
Implements #1806
2024-05-12 15:32:23 +02:00
dm1cael a8a5aa4268 Announcements: add toggle to distance/speed unit announcement
Fixes #1805.
2024-05-01 19:23:26 +02:00
Dennis Guse 455c2fcf75 Bugfix: idle time should start also if the first trackpoint with a location is stored.
Identified in #1898.
2024-04-28 10:50:56 +02:00
Dennis Guse 13eb5c30a2 Bugfix: if sensors are running, do not try to start again.
Fixes #1887.
2024-04-12 06:51:05 +02:00
Dennis Guse dfdbc373ff GPS: event-based using Raw.
Part of #1424.
2024-04-08 17:48:29 +02:00
Dennis Guse 4bfd65bb6d Bugfix: handle missing permissions properly.
Affected only SDK >= 33.

Fixes #1781.
2024-04-01 17:41:25 +02:00
Dennis Guse 35e6ca7528 Bugfix: PublicAPI stop should not start TrackRecordingService in foreground.
Actually, TrackRecordingService will only be start in foreground if needed.

Fixes #1824.
2024-02-22 20:19:48 +01:00
Dennis Guse bf43cdc887 Revert "Bugfix: PublicAPI stop should not start TrackRecordingService in foreground."
This reverts commit da3dd29b8e.
2024-02-13 17:12:40 +01:00
Dennis Guse da3dd29b8e Bugfix: PublicAPI stop should not start TrackRecordingService in foreground.
Actually, TrackRecordingService will start in foreground if needed.

Fixes #1850.
2024-02-10 21:17:17 +01:00
Peter Hercek 91b5c148cc fix naming for the pace of reading of GPS location in settings
Fixes #1840
2024-01-25 22:43:47 +01:00
Dennis Guse 1ae18836cb Cleanup: move marker creation to MarkerEditActivity. 2024-01-13 00:31:48 +01:00
Dennis Guse b1fafc4f2f New marker get current location (on create rather than on save).
Fixes #1393.
2024-01-13 00:01:02 +01:00
griffinonacid eed9680699 Voice Announcements remove "point zero"
Check if total distance is a whole number to prevent TTS reading out "point zero" unnecessarily
2024-01-10 22:44:37 +01:00
Dennis Guse 80d7f8d92e Bugfix: a BLE sensor disconnect should only replace the aggregator.
Fixes #1799.
2024-01-05 15:44:05 +01:00
Dennis Guse 5de2012452 Android14: crash if permissions were not granted.
This is better than not starting the recording.

Part of #1781.
2024-01-01 15:35:19 +01:00
Dennis Guse 9a0f927182 Cleanup: TrackRecordingServiceConnection has now an execute method (avoid instantiation). 2023-12-27 11:05:56 +01:00
Dennis Guse 59aeec4fbc Cleanup: TrackRecordingServiceConnection. 2023-12-27 11:05:56 +01:00
Dennis Guse 5c6a4a71a4 TrackRecordingService: always starts as foreground service. 2023-12-27 11:05:56 +01:00
Dennis Guse abbc61d419 TrackRecordingService: start via ServiceCompat. 2023-12-27 11:05:56 +01:00
Dennis Guse e2f598b282 Cleanup: simplify TrackServiceConnection. 2023-12-27 11:05:56 +01:00
Dennis Guse 41da2f5b53 Cleanup: simplify TrackServiceConnection. 2023-12-27 11:05:56 +01:00
Dennis Guse 826cf0d468 Bugfix: TrackListActivity couldn't stop and restart sensors.
Part of #1780.
2023-12-26 08:42:38 +01:00
Dennis Guse 6cd627e832 Bugfix: TrackRecordingService can only start sensors once.
Fixes #1780.
2023-12-26 08:42:37 +01:00
Dennis Guse 0ee4a4e72f Bugfix: TrackListActivity triggered TrackRecordingService twice (startSensors and startRecording).
Part of #1780.
2023-12-25 20:49:49 +01:00
Dennis Guse aed4af5736 Bluetooth logs: make them slightly more readable. 2023-12-24 21:49:48 +01:00
Dennis Guse 8d5a7e7e8b Barometer: use sensor aggregator.
Part of #1424.
2023-11-20 06:39:28 +01:00
Dennis Guse cb48d7f706 Bugfix (Android14): for recording Location/GPS and Nearby Devices/Bluetooth are mandatory due to Android.
Fixes #1749.
2023-10-29 21:01:37 +01:00
Dennis Guse cb3904ee0b Cleanup: SensorStatistics is a record. 2023-09-28 20:06:13 +02:00
Dennis Guse e9b02df631 Cleanup. 2023-09-28 19:39:43 +02:00
Dennis Guse 2b08eb3287 Cleanup: removed unnecessary getter from data class RecordingStatus. 2023-09-26 08:13:32 +02:00
Dennis Guse 83da4f8f34 Idle: add voice announcement (user configurable).
Fixes of #1174
2023-09-25 17:59:17 +02:00
Dennis Guse 78d2a0722a Idle: TrackRecordingManager creates IDLE TrackPoints (configurable timeout).
Fixes of #1187.
2023-09-25 17:59:17 +02:00
Dennis Guse 00debe2eb5 Idle: TrackRecordingManager creates IDLE TrackPoints (import/export GPX/KML).
Fixes of #1187.
2023-09-25 17:59:17 +02:00
Dennis Guse 6be9d2477c Idle: TrackRecordingManager creates IDLE TrackPoints.
Fixes of #1187.
2023-09-25 17:59:17 +02:00
Dennis Guse 10e65035ee Cleanup: use List.of(). 2023-09-23 21:33:47 +02:00
Dennis Guse 326da494eb Java Record for Track.Id and TrackPoint.Id.
Part of #1526.
2023-08-25 23:52:10 +02:00
Dennis Guse 7d8c4dcb29 Bugfix: re-introduced race condition fix for newGpsStatus.
Follow-up to e9f24f6bae

Fixes #1668.
2023-08-20 19:28:37 +02:00