Commit Graph

210 Commits

Author SHA1 Message Date
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 daeb972c8a Cleanup: simplify stream by using List operations (desugar). 2025-10-18 21:10:26 +02:00
Dennis Guse 73872e8926 Cleanup. 2025-10-18 21:09:21 +02:00
Dennis Guse c15fa21a56 Cleanup: use viewHolder.getAbsoluteAdapterPosition(). 2025-10-18 09:40:56 +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 6e42857023 Cleanup: properly name method (has side effect). 2025-06-20 19:13:05 +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 aaf78e0b74 Settings: language chooser is now available for all Android versions.
Part of #1974
2024-12-11 22:06:09 +01:00
Dennis Guse c4579eb91f Settings: language chooser can be used from Android 14/SDK34.
Part of #1974.
2024-12-01 10:52:50 +01:00
Dennis Guse 4313b51e1e Settings: add custom language/locale chooser (SDK33+).
Corsican was not available using Android's per-app-language-chooser.

Fixes #1974.
2024-11-30 09:46:57 +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
Dennis Guse 53e97a5e4c Bugfix: back arrow in setting is now working.
Fixes #1932.
2024-07-11 07:03:43 +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 622eb26207 Settings: show title of section in toolbar. 2024-03-02 09:01:26 +01:00
Dennis Guse 887c24cbb0 Settings: separate recording settings (move GPS to sensors). 2024-03-02 09:01:26 +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
Dennis Guse 1bd75754e4 Bluetooth sensor settings: show sensor name in addition (if cached via Android OS).
Fixes #508.
2023-12-27 11:32:56 +01:00
Dennis Guse 15f3ccbcbd Bluetooth: rename to BluetoothHandlers. 2023-11-06 18:09:19 +01:00
Dennis Guse 4d54472c93 Bluetooth: use composition instead of inheritance.
Part of #1424.
2023-11-06 18:09:19 +01:00
Dennis Guse 062457f1aa Cleanup: use Java 17's instanceof.
Fixes #1757.
2023-11-06 07:46:18 +01:00
Dennis Guse 1eedd78466 Revert "Cleanup: use stream.toList()."
This reverts commit 8c8a7d9496.
2023-10-17 20:28:35 +02:00
Dennis Guse 46c56b7de8 Cleanup: settings for layout uses ViewBinding. 2023-10-14 10:50:40 +02:00
Dennis Guse 65b53396a6 Merge pull request #1717 from OpenTracksApp/type#1608
Introduced ActivityType is now non-localized (i.e., English) value
2023-10-10 20:10:16 +02:00
Dennis Guse 5fbc079d96 Android12+: use user-defined DynamicColors. 2023-10-10 08:25:05 +02:00
Dennis Guse 8c8a7d9496 Cleanup: use stream.toList(). 2023-10-08 13:48:07 +02:00
Dennis Guse 2c9726f643 Bugfix: preferred speed for nautical setting was not showing correct options. 2023-10-03 17:28:01 +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
Peter Storch f83c23e450 show postworkout error messages, #1669 2023-08-26 19:40:27 +02:00
michel 77719f5bcd Bluetooth settings: handle missing permissions
fixes #1637
2023-07-15 14:15:19 +03:00
blackberrypineapple 4b3ff45609 Bugfix: crash on GPS preferences if using imperial with meters
Fixes #1629
2023-07-05 14:27:14 +02:00
Dennis Guse 477819d730 Cleanup: split ActivityType and ActivityIcon.
Part of #1608.
2023-06-27 16:06:25 +02:00
Dennis Guse 425ea0f216 Cleanup: use ActivityType instead of passing it's id around as String.
Part of #1608.
2023-06-27 15:53:54 +02:00