Dennis Guse
46cf7f9acf
TrackRecordingServiceConnection: use a callback instead of a Runnable.
2022-01-15 20:53:46 +01:00
Dennis Guse
522d8b41d8
Bugfix: use monotonic clock.
...
Fixes #800 .
2022-01-15 19:52:27 +01:00
Dennis Guse
43e1c99642
Refactoring package structure.
...
Part of #963 .
2022-01-14 23:34:05 +01:00
Dennis Guse
58b1396d64
Refactoring package structure.
...
Part of #963 .
2022-01-12 22:57:35 +01:00
Dennis Guse
a9f1381dae
Refactoring package structure.
...
Part of #963 .
2022-01-12 22:42:23 +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
d691c958b9
Cleanup: TrackRecordingManager should use onNewTrackPoint().
2022-01-12 18:07:48 +01:00
Dennis Guse
bc1edec372
Bugfix: ChartView needs data.
...
Fixes #1086 .
2022-01-12 18:06:26 +01:00
Dennis Guse
44e8cd1491
Bugfix: TrackDataHub should abort processing if stopped.
2022-01-09 19:02:54 +01:00
Dennis Guse
cd7bf36aa9
TrackRecordingService: add integration tests.
2022-01-09 18:28:35 +01:00
Dennis Guse
ab07d3b130
TrackRecordingService: re-worked TrackPoint recording tests for state changes.
2022-01-09 18:28:35 +01:00
Dennis Guse
8b5320e40e
TrackRecordingService: cleanup 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
9bde8944b9
Workaround: Clock.systemUTC() seems to be not monotonic.
...
Introduced in 25e590da02
2022-01-06 22:12:53 +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
1fb8fc6a09
Bugfix: GpxTrackImporter needs to reset data when it encounters a new TrackPoint; affected only sensor data.
2022-01-06 22:12:53 +01:00
Román Ginés
5cd6992c90
Proper handling of timezone data on UI. Fixes #301 .
...
Details:
- Date and time handled by OffsetDateTime Java class.
- Track default name with offset (for date local and ISO 8601 options).
- TrackListActivity: shows relative today's date (like Today, Yesterday, 22 Dec, 22 Dec 2021, etc).
- StatisticsRecordedFragment: always shows the original date and time. For example, if you record an activity at 20h then it always will show 20h regardless the zone are where you are.
- Added new tests.
2022-01-03 16:27:40 +01:00
Peter Storch
1631836327
Try to takkle down export dir issues
2022-01-02 21:19:43 +01:00
Dennis Guse
07074ad260
TrackStatistics and ChartView: handle altitude and speed as optional with null as default value.
...
Then only the relevant part of the y-axis is shown.
Fixes #795 .
2022-01-02 18:17:20 +01:00
Dennis Guse
8c20d5583a
Charts: elevation is now optional.
...
Part of #500 .
2022-01-02 18:17:20 +01:00
Dennis Guse
55d3502ff9
Cleanup using AndroidStudio analyze.
2021-12-30 12:16:31 +01:00
Dennis Guse
bb290e2ee4
Settings: add option to disable filter of BLE sensors.
...
Fixes #1000 .
2021-12-28 22:56:29 +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
d6cc7a0321
TrackPointCreator: only try fill TrackPoint with sensor data if started.
2021-12-28 13:05:24 +01:00
Dennis Guse
c7bbaddc06
Cleanup: fix various issues in tests.
2021-12-28 13:05:24 +01:00
Dennis Guse
9af213fd12
Bugfix: selected interval may be null.
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
89f9f25c55
GPX: export track statistics using TrackStatsExtensionv1.
...
Fixes #652 .
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
ba66c45005
Recording data from BLE sensors alone (need to provide distance).
...
GPS is optional in this case, but no coordinates will be available.
Naive implementation tries to store data every second using the UI timer.
Part of #500 .
2021-12-28 13:05:23 +01:00
Dennis Guse
24b638aa30
Add TrackPoint type for BLE sensor only data (i.e., no GPS).
...
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
3359a30907
TrackRecordingService: first process the TrackPoint, then update the notification.
2021-12-28 13:05:23 +01:00
Román Ginés
b4ce99440a
AggregatedStatisticsActivity: added filter option (by category, start and/or end date).
...
Fixes #1039 .
2021-12-24 11:50:32 +01:00
Dennis Guse
6fe6cee475
BLE: CSC remove workarounds as those are not necessary.
...
The implementation of OpenTracks for the CSC parsing was broken and fixed in 35de5b6b26
Fixes #1046 .
2021-12-21 22:00:38 +01:00
Dennis Guse
52228d44a9
Cleanup.
2021-12-21 21:55:41 +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
4c7d9384fb
Revert "Only record a TrackPoint if the traveled distance is greater than recording distance interval."
...
This reverts commit 08ba7d50c7 .
Fix #1046 .
2021-12-19 21:56:53 +01:00
Dennis Guse
03d825d2ec
Cleanup: reference resources manually.
2021-12-19 21:54:13 +01:00
Peter Storch
b287967bc4
fix persistable directory permissions
2021-12-15 21:39:10 +01:00
Román Martínez
19382f19c4
Aggregated stats for only selected tracks.
2021-12-12 21:38:08 +01:00
Román Martínez
7f9057c519
Added profiles for custom layouts.
...
Users can add severals custom layouts and select one of them in recording fragment. The last selected layout is the one that will be use in the next recording.
Fixes #938 .
2021-12-07 18:07:25 +01:00
Dennis Guse
02cec48ae4
Merge pull request #1036 from OpenTracksApp/npe#1035
...
Fix NPE #1035
2021-12-04 22:23:27 +01:00
Dennis Guse
0d45efdf07
Cleanup.
2021-12-04 21:47:43 +01:00
Dennis Guse
b6d935cf34
Bugfix: prevent NPE as handler should not be executed anymore.
...
Fixes #1035 .
2021-12-04 21:47:43 +01:00
Dennis Guse
1e27542aea
Bugfix: free memory in onDestroy().
2021-11-29 21:33:12 +01:00
Peter Storch
bb7efaa87c
fix #1025 exportdir failed to create document
...
fix #254 illegal filename characters
2021-11-29 08:15:08 +01:00
Dennis Guse
d93e025963
BLE sensors: clear data when disconnected.
...
Part of #1027 .
2021-11-20 19:43:38 +01:00