Dennis Guse
d4e9b5d3d7
Cleanup: renames in sensor data handling.
...
Part of #1995 .
2025-03-01 22:51:48 +01:00
Dennis Guse
c1869236df
Test: nicer error messages.
2025-02-19 22:03:38 +01:00
Dennis Guse
01f4359cdf
Sensor data: use monotonic clock (for isRecent).
...
Part of #1966 .
2024-12-28 17:33:53 +01: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
Dennis Guse
dfdbc373ff
GPS: event-based using Raw.
...
Part of #1424 .
2024-04-08 17:48:29 +02: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
8d5a7e7e8b
Barometer: use sensor aggregator.
...
Part of #1424 .
2023-11-20 06:39:28 +01:00
Dennis Guse
ce21fe3569
Cleanup: renamed SensorData* to Aggregator*.
2023-11-15 18:41:13 +01:00
Dennis Guse
d47fa27e02
Cleanup: SensorDataCyclingDistanceSpeed.Data is a record.
2023-11-15 07:26:04 +01:00
Dennis Guse
58d79380cf
Sensors: separate data generation and aggregation.
...
Part of #1424 .
2023-11-15 07:20:42 +01:00
Dennis Guse
55495dae53
ActivityType non-localized: import and export for GPX, KML, and KMZ.
...
Fixes #1608 .
2023-10-08 14:07:29 +02:00
Dennis Guse
348cb16256
ExportImportTest: extract test for checking recording.
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
4ca6b230c3
Bugfix: prevent crash due to invalid UUID example (Android 14+ / API34+).
...
Fixes #1682 .
2023-08-31 22:05:31 +02:00
Dennis Guse
d8e05da9d0
Tests: remove workaround for not stopping TrackRecordingService properly below API24.
2023-08-13 21:11:24 +02:00
Dennis Guse
7530e1d120
AndroidStudio: code cleanup.
2023-08-08 17:57:36 +02:00
Dennis Guse
11c5ec43e2
Statistics: distance, total time, moving time are counted between automatic segments.
...
Fixes #1566 .
2023-07-26 19:16:27 +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
Dennis Guse
779681088c
Refactor Track.icon is now Track.activityTypeId.
...
Part of #1608 .
2023-06-27 15:53:54 +02:00
Dennis Guse
dbd64a8075
Cleanup: rename category to activityType.
2023-06-15 18:45:11 +02:00
Dennis Guse
d046ca1cd8
SensorManager handles SensorDataSet.
...
Part of #1424 .
2023-06-04 13:16:22 +02:00
Dennis Guse
f48c4806b5
Simplify TrackExporter interface.
2023-05-28 21:30:09 +02:00
Dennis Guse
819f454bd8
Refactored TrackFileFormat interface.
2023-04-12 22:41:56 +02:00
Dennis Guse
7d58014b15
Cleanup/Java 17: use multi-line text blocks.
2023-04-12 22:39:30 +02:00
Dennis Guse
b9dedef292
Refactor: introduced SensorManager.
2023-03-28 20:58:23 +02:00
Dennis Guse
ac80386b8a
Refactor tests: use mocks for BluetoothRemoteSensorManager.
2022-12-30 16:22:46 +01:00
Dennis Guse
a5eca8fa64
Test: do not request GPS permissions for test that use fake locations anyhow.
2022-10-28 18:41:54 +02:00
Dennis Guse
498ee20e2a
Test: update and re-enable ExportImportTest for csv_export.
2022-10-28 18:41:54 +02:00
Dennis Guse
82fe859c84
KML: Export KML2.3 - KML2.2 and KML2.3 can be imported.
...
Fixes #339 .
2022-09-13 23:20:06 +02:00
Dennis Guse
dc7afbd07f
BLE: extract SensorDataCycling.
...
Part of #1352 .
2022-09-04 12:11:09 +02:00
Dennis Guse
06d2957407
Desugar: upgrade to AGP 7.3.0-rc01
...
Required for desugar 1.2.0)
2022-08-21 23:25:06 +02:00
Dennis Guse
5667d2d83e
Store sensor data without distance.
...
Fixes #1088 .
2022-07-11 22:56:11 +02:00
Dennis Guse
21d1852505
Test: import+export results in same timezone.
...
Part of #1296 .
2022-07-08 00:16:48 +02:00
Dennis Guse
73615aa0d6
Statistics: remove speed filtering (fix tests).
...
Part of #1003 .
2022-07-01 13:24:18 +02:00
Dennis Guse
81bb6699d8
Statistics: remove speed filtering.
...
Part of #1003 .
2022-06-30 14:03:33 +02:00
Dennis Guse
059f3d8f43
Cleanup: align test classes name to tested class.
2022-05-26 10:23:27 +02:00
Dennis Guse
5d2414977b
TrackRecordingService: remove pause functionality.
...
Fixes #1233 .
2022-05-23 07:41:50 +02:00
Dennis Guse
24eb768707
Export: filename template now distinguishes between {date} and {time}.
2022-05-19 19:28:15 +02:00
Dennis Guse
40d2bf0c22
Bluetooth: use TrackRecording handler for callback.
...
Otherwise the thread is not defined and a SecurityException may be triggered when inserting data into the ContentProvider.
Sadly, below API26 this needs to be done manually.
Fixes #1165 .
2022-05-11 20:56:52 +02:00
Dennis Guse
094a20c379
Vertical accuracy: process and import/export.
...
Fixes #78 .
2022-05-04 20:18:45 +02:00
Dennis Guse
0d3cf4ce0d
Configurable filename for export: used for all automatic exports after recording, exporting all, and sharing tracks.
...
Fixes #512 .
2022-05-03 20:06:29 +02:00
Dennis Guse
b44bab1ab5
For testing: add rule to mock timezone.
...
Used by ExportImportTest.csv_export_only()
2022-04-23 15:03:05 +02:00
Dennis Guse
374959f340
Add CSV as export format (TrackPoints only).
...
Fixes #999 .
2022-04-23 15:03:05 +02:00
Dennis Guse
5cf8b67954
Import/Export: horizontal accuracy.
...
Fixes #683 .
2022-04-23 12:49:07 +02:00
Dennis Guse
18b21a6a3e
Bugfix: prevent race condition in TrackPointCreator.
...
This race condition leads to a crash in TrackStatisticsUpdater as the time might appear to move backwards if the created TrackPoints are not stored in order. Might happen if multiple sensors (BLE or GPS) are used in simultaneously.
Every method affected by a race condition is now synchronized.
Problem was introduced in c4b8082efc
Fixes #1151 .
2022-04-23 12:48:19 +02:00
Dennis Guse
dd1c5667a0
Adhere to recording distance interval for TrackPoint storage.
...
Part of #1059 .
2022-04-10 12:57:12 +02:00