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
Dennis Guse
2dc362c105
Cleanup.
2022-01-29 19:21:54 +01:00
Dennis Guse
0eda1eed1d
Introduced value objects for heartrate, cadence, and power.
...
Fixes #896 .
2022-01-16 15:30:08 +01:00
Dennis Guse
88c4e1a109
Package structure: moved sensors.
...
Part of #963 .
2022-01-15 22:24:59 +01:00
Dennis Guse
0645628d7e
Package structure: moved models and database.
...
Part of #963 .
2022-01-15 22:24:59 +01:00
Dennis Guse
e508c53ca9
TrackRecordingManager: store GPS-based TrackPoints based upon the distance to the previously stored GPS-based TrackPoint.
2022-01-12 18:07:48 +01:00
Dennis Guse
cd7bf36aa9
TrackRecordingService: add integration tests.
2022-01-09 18:28:35 +01:00
Dennis Guse
8b5320e40e
TrackRecordingService: cleanup tests.
2022-01-09 18:28:35 +01:00
Dennis Guse
ef15632d7b
TrackRecordingService: refactored and unified tests.
2022-01-09 18:28:35 +01:00
Dennis Guse
f5ce76955b
TrackRecordingService: add tests for state changes.
2022-01-09 18:28:35 +01:00
Dennis Guse
1163f74b98
SENSORPOINT and TRACKPOINT require a distance to be stored.
...
TrackRecording and TrackStatisticsUpdater.
Part of #500
Fixes #1074 .
2022-01-06 22:12:53 +01:00
Dennis Guse
c4b8082efc
Bluetooth sensors: event-driven TrackPoint creation.
...
Part of #500 .
2022-01-06 22:12:53 +01:00