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
Dennis Guse
6d04659370
Timezone support: store timezone offset per Track.
...
When a recording is started the offset of the phone is used.
Timezone is exported to KML and GPX.
Fixes #301 .
2021-12-28 15:42:38 +01:00
Dennis Guse
7d0d87e962
Tests: ServiceTestRule does not (always) restart the service.
...
Thus, resetting it's status is not happening and then leading to failures in subsequent tests.
Fixes #1058 .
2021-12-28 13:05:24 +01:00
Dennis Guse
84c51ba8bb
GPX: export cumulative sensor data from SENSORPOINTs.
...
Part of #500 .
2021-12-28 13:05:24 +01:00
Dennis Guse
f8cc257895
KMZ/KML: Export/Import SENSORPOINTs.
...
Part of #500 .
2021-12-28 13:05:23 +01:00
Dennis Guse
45125bcda3
Refactor: rename LocationHandler to GPSHandler.
2021-12-28 13:05:23 +01:00
Dennis Guse
25e590da02
Moving time: re-implement idle/non-idle TrackPoints.
...
Simplify computation of TrackStatistics.
Part of #1046 .
2021-12-19 22:01:35 +01:00
Dennis Guse
0be4b25508
Moving time: fix test.
...
Part of #1046 .
2021-12-19 21:56:53 +01:00
Dennis Guse
1f0a99c49a
Recording: ignore TrackPoints that contain sensor data and do not fulfill recording distance interval.
...
Follow-up to 08ba7d50c7
Part of #1027 .
2021-11-20 19:43:38 +01:00
Dennis Guse
23bcbf09a5
GPX importer supports speed without namespace (compatibility with other tools).
...
Fixed #774 .
2021-10-20 21:50:51 +02:00
Dennis Guse
45571c68c9
Rename TrackPoint's cycling cadence to cadence as it may contain running data.
...
Part of #970 .
2021-10-19 17:53:08 +02:00
Dennis Guse
2f7a56bb17
Bugfix: importing files without speed resulted in moving time 0s and max speed of 0.
...
Fixes #982 .
2021-10-18 18:41:53 +02:00
Dennis Guse
52a110d998
Bugfix: reset on SensorDataSet should only take place if the TrackPoint was stored
...
Fixes #969 .
2021-10-16 10:23:09 +02:00
Dennis Guse
9cb3d8c1bb
Finished renaming: TrackPointCreator was still referenced as HandlerServer.
2021-08-30 17:24:51 +02:00
Dennis Guse
a3872581bb
Cleanup: Renamed HandlerServer to TrackPointCreator.
2021-08-01 18:40:38 +02:00
Dennis Guse
997ddbb4f1
ExportImportTest: made tests deterministic (simulate GPS/sensors).
...
Fixes #761 .
2021-07-22 17:18:31 +02:00
Dennis Guse
86a0054c24
Bugfix: TrackStatistics' total time was not restored correctly, when having pause/stop and then resume.
2021-07-22 17:18:31 +02:00
Dennis Guse
db24639829
Cleanup: horizontal accuracy is now a Distance (and named consistently).
2021-07-22 17:18:31 +02:00
Dennis Guse
65e920e8b6
ExportImportTest: made tests deterministic.
...
Fixes #761 .
2021-07-22 17:18:31 +02:00
Dennis Guse
7f618da7a6
TrackPointAssert: provide better error messages on assertion failure.
2021-07-22 17:18:31 +02:00
Dennis Guse
0332b9eb87
ExportImportTest: only cleanup if necessary.
2021-07-22 17:18:31 +02:00
Dennis Guse
c07d6124f9
TrackRecordingService: simplify altitude and remoteSensor handling.
2021-07-04 16:53:10 +02:00
Dennis Guse
c289fd174d
Cleanup.
2021-07-04 16:53:10 +02:00
Dennis Guse
3cb04a1ca0
TrackPointAssert: always check location.
2021-07-04 16:53:10 +02:00
Dennis Guse
9fb5cf33ca
TrackPointAssert: GPX speed is only exported with one decimal.
2021-07-04 16:53:10 +02:00
Dennis Guse
a20cc17215
TrackPointAssert: removed helper methods.
2021-07-04 16:53:10 +02:00
Dennis Guse
0edb72aaed
Tests: created TrackPointAssert to unify verification (incl. speed).
2021-07-04 16:53:10 +02:00
Dennis Guse
1f83b71336
Tests: created TrackPointAssert to unify verification.
2021-07-04 16:53:10 +02:00
Dennis Guse
6749f484e8
Export: removed KML/KMZ format variants
...
* KML/KMZ with track only (contained only coordinates)
* KML/KMZ with track details (did not contain markers and sensor data)
2021-06-28 23:03:59 +02:00
Dennis Guse
6334dcea04
KMLImporter: added test.
2021-06-04 17:50:34 +02:00
Dennis Guse
5b2d9a5773
Import: re-order TrackPoints by time, so statistics can be computed.
...
Fixes #796 .
2021-06-04 17:50:34 +02:00
Dennis Guse
57afedb3a8
Importer: re-organized tests.
...
Added test for when/gx:coords order for KML2.2 (for #790 ).
2021-06-04 17:50:34 +02:00
Dennis Guse
4e33ad4007
Cleanup: move instantiation of TrackImporter.
2021-06-04 17:50:34 +02:00
Dennis Guse
eada954299
Cleanup: renaming Importer classes.
2021-06-04 17:50:34 +02:00
Dennis Guse
54e8fd3ee3
Import: re-implement KML parsing.
...
Fixes #790 .
2021-06-04 17:50:34 +02:00
Dennis Guse
50127e311a
Introduced value object for Altitude.
2021-05-05 18:01:07 +02:00
Dennis Guse
92004b0ec7
Cleanup: refactored importers.
2021-05-01 20:01:06 +02:00
Dennis Guse
f277347529
ExportImportTest: be realistic by creating actual files.
2021-05-01 20:01:06 +02:00
Dennis Guse
ad1aa06407
Cleanup: extracted SAX2 import from AbstractFileTrackImporter.
2021-05-01 20:01:06 +02:00
Dennis Guse
da70fca389
Bugfix: TrackStatistics handles SEGMENT_START_AUTOMATIC properly.
2021-04-13 19:18:18 +02:00
Dennis Guse
0fb43f6530
Test: fix failing Export/Import tests.
...
While recording with the sensor is used while on import only the GPS distance is available.
Introduced in a5158a55d9
Fixes #670 .
2021-04-13 19:18:18 +02:00
Dennis Guse
6f9c788965
Value objects distance and speed.
...
#679
2021-04-13 19:18:18 +02:00
Dennis Guse
1e518a4c35
Use a non-static Binder for TrackRecordingService.
...
Fixes #98 .
2021-04-09 18:34:23 +02:00
Dennis Guse
bc1b4e3cd2
Rename elevation to altitude (without translations).
...
Fixes #678 .
2021-04-04 17:45:38 +02:00
Román Martínez
e09b04308c
Track recording service handles the status of recording: track's id, pause and GPS status.
...
Created an interface for all components that want to know about recording status through the service.
All interface's methods are optional so every component can implement what they need.
Fixes #388 .
2021-04-04 13:15:42 +02:00
Dennis Guse
2431d60171
Cleanup.
2021-03-15 17:27:41 +01:00
Dennis Guse
a5158a55d9
Use distance from cycling speed sensors.
...
Fixes #505 .
2021-03-15 17:27:41 +01:00
Dennis Guse
15fbd90ca4
Performance: Keep reference to sharedPreferences.
...
So far, we opened the SharedPreferences very often, which is very slow; also happened in the UI thread a lot.
Fixes #642 .
2021-03-15 12:01:32 +01:00