Commit Graph

97 Commits

Author SHA1 Message Date
karol 53dfa915fb Merge upstream updates into local fork 2026-09-11 14:10:42 +02:00
karol 7c6141f98c feat: prioritize Bluetooth sensor data over GPS
- Restructured sensor logic to give absolute priority to Bluetooth sensors, largely ignoring GPS data for distance and speed calculations.
- Implemented downstream UI expansions, custom recording layouts, and new settings to reflect and control the new sensor-first flow.
- Added MediaNotificationListenerService and integrated media playback tracking within statistics.
- Modified VoiceAnnouncementUtils to harmonize announcements with the updated architecture.
- Added 'About This Fork' section to the README.

Note: These modifications were co-created with Antigravity AI.
2026-09-11 14:10:42 +02:00
Dennis Guse e28a84fc88 Allow to disable segment creation (max recording distance).
Fixes #2389.
2026-08-28 07:07:06 +02:00
Dennis Guse 12a8686896 Cleanup. 2026-08-19 20:38:05 +02:00
Dennis Guse 925a253bbb Fix tests: PreferencesUtils wasn't visible enough (anymore). 2026-07-21 07:22:51 +02:00
Dennis Guse 95e6448cba Health Connect: minimal implementation for writing route data. 2026-07-03 08:18:44 +02:00
Manuel 713e454e44 HealthConnect: Queue exports in the background 2026-07-03 08:18:44 +02:00
Dennis Guse d1f003c0ce Bugfix: voice_announce_lap_power_key should not have been translatable.
For some localizations, users will experience that the setting got reverted.

Fixes #2359.
2026-06-28 13:02:28 +02:00
Dennis Guse ee030f32f5 Bugfix: resetting settings should restore data. 2026-05-29 16:36:29 +02:00
Dennis Guse 9cdf87b998 Test for announcement without speed/distance units.
Part of #2323
2026-05-27 11:29:18 +02:00
Dennis Guse b651a8ca6a GPS is now optional: data source (internal, none) be selected in settings.
Migrated to GPSHandler.

Fixes #1279.
2026-02-10 10:07:41 +01:00
Dennis Guse 6d187fa66d Cleanup: removed DriverObserver0 and moved sensor drivers to separate package. 2026-02-09 18:15:37 +01:00
Dennis Guse ea27db13fa Created RunningSpeedCadenceDistanceHandler. 2026-02-09 18:15:37 +01:00
Dennis Guse 29d2e7c78c Created CyclingPowerHandler. 2026-02-09 18:15:37 +01:00
Dennis Guse 4b7badbecc Created CyclingDistanceSpeedHandler. 2026-02-09 18:15:37 +01:00
Dennis Guse 0dcb8010e2 Created CyclingCadenceHandler. 2026-02-09 18:15:37 +01:00
Dennis Guse 0a9d4b207c Created TemperatureHandler. 2026-02-09 18:15:37 +01:00
Dennis Guse f8aa456549 Extract SensorHandler from GainManager for re-use. 2026-02-09 18:15:37 +01:00
Dennis Guse 167d90332e Extract Driver for internal GPS to GpsInternal. 2026-02-09 18:15:37 +01:00
Dennis Guse e64792bf3f Resetting preferences requires clearing and naming each preference file explicitly. 2026-02-06 18:54:18 +01:00
Dennis Guse e9deebea6c Refactor: RecordingLayout. 2026-01-10 21:43:54 +01:00
Dennis Guse 54844b9a9a Sensor: add temperature.
Fixes #2241.
2026-01-10 21:43:54 +01:00
Dennis Guse 1191f2e1e2 Cleanup: remove unused imports. 2025-12-05 08:05:25 +01:00
Dennis Guse 990c91f978 Track is now a record. 2025-11-27 19:35:05 +01:00
Dennis Guse 4b59660ea1 Revert "Allow adding newly developed UI Components to existing custom layouts."
This reverts commit daa4689f44.
2025-10-29 22:14:12 +01:00
Jeff Shelley daa4689f44 Allow adding newly developed UI Components to existing custom layouts.
Fixes #2176.
2025-10-28 09:51:51 -05:00
Jeff Shelley 023a5aa221 added new UI component which shows elapsed segment time 2025-10-28 09:51:29 -05:00
Dennis Guse ec2e527fd1 Cleanup. 2025-10-24 10:04:04 +02:00
Jeff Shelley 94595f2a1f Added support for average pace of the current segment 2025-10-21 19:34:19 -05:00
Dennis Guse 1a1a8a851b Cleanup: use Stream.toList()
Replaces Stream.collect(Collection.toList() | Collectors.toCollection()).
2025-10-19 18:26:49 +02:00
Dennis Guse e9d1080e5d Cleanup: SpeedFormatter doesn't support decimal places. 2025-10-18 09:40:54 +02:00
Dennis Guse d6617f61b7 Cleanup: use PreferenceUtils.isKey(List). 2025-10-15 18:10:35 +02:00
Rob Herremans f54856c3f1 Fix for time and unit announcements (#2166)
Bugfix: time and unit announcement where not configurable correctly.

Fixes #2165.

Reviewed-on: https://codeberg.org/OpenTracksApp/OpenTracks/pulls/2166
Co-authored-by: Rob Herremans <dev@robherremans.nl>
Co-committed-by: Rob Herremans <dev@robherremans.nl>
2025-09-16 20:13:15 +02:00
Dennis Guse c34e9bd7b6 Themes: use separate themes for DayNight/OLED/DynamicColors.
Fixes #2123.
2025-07-04 16:49:35 +02:00
Dennis Guse bc61e08072 Release: v4.18.0 2025-03-08 12:37:36 +01:00
Dennis Guse dc3e7d25f3 Preference: "GPS disabled"-warning is now configurable.
Fixes #2058.
2025-02-18 21:37:40 +01:00
Vasja Volin eda1815393 Add settings toggles for chart series
Adds toggles to the User Interface section of the app Settings that
allow the user to display or hide the three series available in the
chart: Elevation, Speed/Pace, and Heart Rate. As a user of a heart rate
monitor primarily during strength workouts and combat sports, the
distance and elevation graphs are not helpful to me - in addition, their
scale means that I am not able to easily see my exact heart rate. This
should allow users in a similar situation to better determine exactly
what is most helpful for them to be seen on the graph.

Also updates heart rate series possible intervals - the smallest interval
was 25, which was too low for most zone 1 cardio charts - if your heart
rate goes from 70 to 125, with a 25 interval, most of the chart will be
whitespace.
2025-01-24 07:01:15 +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 2cc4218dc6 Removal of the "show on map"-feature using KML/GPX.
Dashboard API is nicer and easier.

Fixes #2012.
2024-11-24 10:57:55 +01:00
Dennis Guse f7f58141de Added settings for disabling idle functionality. 2024-10-18 19:57:10 +02:00
Dennis Guse d8eed2ccc9 Cleanup using AndroidStudio analyze. 2024-07-11 07:38: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 bf58458362 UI: re-add OLED friendly (aka black) theme.
Fixes #1625.
2024-03-02 19:32:39 +01:00
Dennis Guse c30862c0da Tests can now be executed again on pre-Android 12. 2024-02-10 21:31:12 +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 03dd0c2308 Implement gain/loss via Bluetooth LE Environmental Sensing Sensor.
Fixes #1424.
2023-12-30 11:23:28 +01:00
Dennis Guse 94540606ef Barometer: select INTERNAL or NONE (also while recording).
Part of #1424.
2023-12-29 13:17:06 +01:00
Dennis Guse 490141db2a Barometer: added settings for sensor selection.
Part of #1424.
2023-12-29 13:17:06 +01:00