Commit Graph

1313 Commits

Author SHA1 Message Date
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 7df625ff0c Revert "Bugfix: on idle detection reset movement-based sensor data."
This reverts commit fd9646bb1f.
2025-01-20 07:53:45 +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 01f4359cdf Sensor data: use monotonic clock (for isRecent).
Part of #1966.
2024-12-28 17:33:53 +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 26c660ec5b Dashboard API: check if parameters are present before forwarding them.
Part of #2030.
2024-12-18 19:18:37 +01:00
Dennis Guse fd9646bb1f Bugfix: on idle detection reset movement-based sensor data.
Fixes #1995.
2024-12-17 07:18:24 +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 b65230bc5d Bugfix: PublicAPI StartRecording recorded no data.
Problem was that the TrackRecordingService was not started as a ForegroundService anymore.

Fixes #1904.
2024-12-05 17:50:32 +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 0b4a18deb4 Move about page from settings to TrackList menu 2024-11-30 09:30:06 +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 e5a60a8141 Bugfix: UI for adding photos to marker was invisible.
Introduced in 00258fd93e

Fixes #1996.
2024-10-12 20:41:33 +02:00
Dennis Guse 2e7a3b7465 Use AltitudeConverterCompat instead of custom solution.
Fixes #1920.
2024-09-14 16:05:32 +02:00
Dennis Guse 7925455011 Aggregated stats: start of the week uses regional preferences (Android14+).
Implemented using Material3's DatePicker.

Fixes #1681.
2024-09-08 12:20:11 +02:00
Dennis Guse d04e75c457 Bugfix: Track list not updating recording status correctly.
Fixes #1934.
Fixes #1982.
2024-09-08 12:10:04 +02:00
Dennis Guse 00258fd93e Track edit and Marker edit do not need bottom bar. 2024-09-07 12:50:49 +02:00
Dennis Guse f97786b073 Bugfix: Remove Track list's empty list UI (start here + arrow).
This broke during the Material3 upgrade.
2024-09-07 12:50:49 +02:00
Dennis Guse 5c2a6a78c4 Bugfix: KML 2.3 export must use heartrate as field name.
Fixes #1961.
2024-09-07 11:59:01 +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 8cceadd93e Reverted: Cleanup using AndroidStudio analyze (some)
d8eed2ccc9
2024-07-12 07:41:21 +02:00
Dennis Guse d8eed2ccc9 Cleanup using AndroidStudio analyze. 2024-07-11 07:38:45 +02:00
Dennis Guse ea23e25a47 Bugfix: label for off trail hiking was missing the "off trail". 2024-07-11 07:06:15 +02:00
Dennis Guse 53e97a5e4c Bugfix: back arrow in setting is now working.
Fixes #1932.
2024-07-11 07:03:43 +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
Dennis Guse 1ed807054b Bugfix: moving time was not computed.
Introduced in 6be9d2477c (first released in v4.9.0)

Fixes #1756.
2024-07-05 23:42:25 +02:00
Dennis Guse 151c3a79de Predictive back: for everything except import/export.
Fixes #1708.
2024-05-25 23:46:24 +02:00
Dennis Guse f595bc4d1e Bugfix: delete markers from list was broken.
Fixes #1915.
2024-05-25 21:50:05 +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 e590e4e07e Bugfix: overestimated distance.
A combination of idle trackpoint and stale GPS data, resulted in recording lat=0.0 and lng=0.0; and thus inflating distance as well as GPS-based speed.

Fixes #1898.

Introduced in dfdbc373ff
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 52624b5cfe PublicAPI: add test for setting icon via parameter.
Follow-up to #1818.
2024-04-08 18:17:54 +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 48baece0e5 Bugfix: POST_NOTIFICATION permission is optional.
Affected only SDK >= 33.

Fixes #1880.
2024-04-01 17:12:53 +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 8daf143f57 Fix linting :D 2024-03-01 18:41:37 +01:00
Dennis Guse f0d7ef082d KMZ importer allows arbitrary file names for kml (was doc.kml).
Fixes #1864.
2024-02-25 10:17:35 +01: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 2ec2d2fd53 Bugfix: MarkerList back arrow was non-functional.
Fixes #1861.
2024-02-22 20:18:59 +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 c30862c0da Tests can now be executed again on pre-Android 12. 2024-02-10 21:31:12 +01:00