Commit Graph

1469 Commits

Author SHA1 Message Date
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
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
Frédéric Giquel 66da8e1b92 Fix icon for kayaking activity 2024-01-30 23:16:46 +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
Peter Hercek faf31fde13 more compact Y-axis markers in charts
If there is enough vertical space around each Y-axis marker then draw
 them in two lines to free more horizontal space for the chart itself.
 Fixes #1828
2024-01-15 18:05:44 +01:00
Peter Hercek 7ebb629b44 fill the area below a chart curve only when there are at most 2 curves
This makes charts more readable when there are many curves in it.
 Fixes #1823
2024-01-13 16:48:59 +01:00
Dennis Guse 1ae18836cb Cleanup: move marker creation to MarkerEditActivity. 2024-01-13 00:31:48 +01:00
Dennis Guse f3e8d033cc Remove StrictMode warnings. 2024-01-13 00:15:32 +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
Peter Hercek f3f9ad2154 add chart area space by putting x-axis label below the axis
Fixes #1820
2024-01-11 23:26:03 +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 e047100e34 Bugfix: BLE pressure is in PA.
Fixes #1424.
2024-01-05 21:59:18 +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
Peter Hercek c6b4e738b9 more compact chart titles
titles need to take less vertical space for charts to be legible
 in landscape mode when more channels (data series) are available
 Fixes #1807
2024-01-02 20:53:42 +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 0584f05ddc Bugfix: Cycling Cadence and Distance sensor allow for repeated data.
Fixes #1790.
2024-01-01 14:39:20 +01:00
Dennis Guse 310ac8c06e Bugfix: process cycling power sensor data correctly.
Fixes #1802.
2023-12-31 13:18:55 +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 8eed8e9d8d Bugfix: Bluetooth sensor data TLS is 5s instead of 50s.
Introduced in 58d79380cf
2023-12-29 13:17:06 +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 a141bd77ad Bugfix: intervals row needs to use complete row.
Introduced in be0a7e2fac
2023-12-29 13:09:52 +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 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 df8306c2f8 Cleanup: TrackEditActivity doesn't need a 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 8f5388edce While recording: show BLE sensor name instead of address.
Fixes #1796.
2023-12-26 11:22:05 +01:00
Dennis Guse 2fe452c77c Revert "fix NPE at null barometer after unregister listener"
This reverts commit 5dbd17f3bb.
2023-12-26 08:42:38 +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 150cbee95b BarometerInternal: if there is no internal barometer - don't register a listener. 2023-12-25 18:48:14 +01:00
Dennis Guse 47ceb297c9 SensorManager: crash if started twice.
Part of #1780.
2023-12-24 22:10:58 +01:00
Dennis Guse aed4af5736 Bluetooth logs: make them slightly more readable. 2023-12-24 21:49:48 +01:00
Dennis Guse d08552a07b Bugfix: cycling cadence data should be handled by BluetoothHandlerCyclingCadence.
Fixes #1787.

Introduced in 15f3ccbcbd
2023-12-17 22:37:32 +01:00
Dennis Guse 24212a226e Bugfix: prevent crash when ending a recording (barometer present).
Fixes #1766.
2023-12-09 10:04:50 +01:00
Peter Storch 87d7ebcb64 fix #1769 export overwrite existing files 2023-11-28 21:35:17 +01:00
Dennis Guse a01edcc9e8 Bugfix: InputStream.transferTo() is only available from SDK33+.
Introcuced in 8b7063d18b.
2023-11-27 23:04:43 +01:00
Dennis Guse 8b7063d18b Cleanup: use InputStream.transferTo() 2023-11-24 07:11:22 +01:00
Dennis Guse 25d4daa295 Cleanup. 2023-11-24 07:11:07 +01:00
Peter Storch 5dbd17f3bb fix NPE at null barometer after unregister listener 2023-11-22 21:24:36 +01:00