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
7ebd532edb
Cleanup using AndroidStudio's code analyzer.
2021-06-24 18:47:49 +02:00
Dennis Guse
3030b4dfd9
Bugfix: TrackRecordingService needs to send data from lastTrackPoint in it's 1s updates.
...
This also removes UI updates if a GPS measurement is received as 1s update should be sufficient.
Fixes #828 .
2021-06-24 12:02:22 +02:00
Román Martínez
24e18347a6
IntervalsFragment doesn't use TrackDataHub anymore. This improve intervals performance. Fixes #808 .
2021-06-15 17:09:24 +02:00
Dennis Guse
e9e48e4a79
Bugfix: cycling sensors report wheel count as UINT32 - data type must be long, int is too small.
...
Also forgot to fix tests.
Fixes #810 .
2021-06-13 19:17:05 +02:00
Dennis Guse
40188774b1
Bugfix: cycling sensors report wheel count as UINT32.
...
Garmin Speed Sensor 2 actually counts forward: it was an UINT16 overflow problem (removed workaround).
Fixes #810 .
2021-06-11 19:25:40 +02:00
Dennis Guse
2f0449c420
TrackRecordingService: compute temporary TrackStatistics for UI.
...
Fixes #810 .
2021-06-11 19:25:40 +02:00
Dennis Guse
288fe27a57
Import: re-implement GPX parsing.
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
ccfcd3b306
TrackDataHub: do not send more TrackPoints after stop().
2021-05-29 19:31:28 +02:00
Dennis Guse
7929d219ac
Cleanup: TrackDataHub does not need started.
2021-05-29 19:31:28 +02:00
Dennis Guse
d6f4d3f599
Cleanup:
...
TrackDataHub handles listeners itself.
2021-05-29 19:31:28 +02:00
Dennis Guse
4171d9cc4c
Cleanup.
2021-05-28 07:58:57 +02:00
Dennis Guse
e580a03115
Cleanup ChartFragment.
2021-05-23 19:52:12 +02:00
Dennis Guse
1d7820469c
TrackDataHub: prevent crash due to race condition.
...
Fixes #787 .
2021-05-22 12:49:51 +02:00
Dennis Guse
e71ab28701
TrackRecordingService: avoid race condition while stopping a recording.
2021-05-19 18:36:41 +02:00
Dennis Guse
ae001c73dd
Simplify TrackDataHub interface.
2021-05-19 18:36:41 +02:00
Dennis Guse
56ff7827df
TrackRecordingService uses LiveData to transfer data.
...
Replaces pull from UI layer.
Fixes #173 .
2021-05-19 18:36:41 +02:00
Dennis Guse
c00d769188
SensorDataCycling: use Distance.
2021-05-16 08:35:47 +02:00
Dennis Guse
da28ea3e95
Cleanup.
2021-05-16 00:08:15 +02:00
Dennis Guse
18dd1de1f9
TrackDataHub: prevent race condition.
2021-05-08 19:31:16 +02:00
Dennis Guse
48b6438c06
Bugfix: TrackDataHub needs to use the same TrackStatisticsUpdater for a whole track (incl. newly received TrackPoints).
...
Fixes #745 .
Introduced in https://github.com/OpenTracksApp/OpenTracks/commit/887d4700d4f8fbf10563834e7498388a3213007e
2021-05-08 14:40:32 +02:00
Dennis Guse
2843d19450
UI presents altitude in EGM2008.
2021-05-05 18:01:07 +02:00
Dennis Guse
50127e311a
Introduced value object for Altitude.
2021-05-05 18:01:07 +02:00
Dennis Guse
8af0fb3250
Bugfix: TrackDataHub did not account for recordingDistanceInterval.
...
Introduced in 887d4700d4
2021-05-03 22:13:23 +02:00
Dennis Guse
1baf652b81
Bugfix: ChartFragment needs to show elevation in M/FT.
2021-05-03 22:13:23 +02:00
Dennis Guse
6723bfb979
TrackRecordingService: provide status updates via LiveData.
...
Fixes #719
2021-05-03 22:13:23 +02:00
Dennis Guse
887d4700d4
TrackDataHub computes TrackStatistics and passes it to listeners.
...
Part of #719 .
2021-04-27 19:02:53 +02:00
Dennis Guse
391dfd30e2
TrackDataHub does not need to register for status changes of TrackRecordingService.
...
This is handled by TrackRecordingActivity alone.
Part of #719 .
2021-04-27 19:02:53 +02:00
Dennis Guse
df3720ef0d
Bugfix: TrackDataManager.unregisterTrackDataListener was not removing listener.
2021-04-27 19:02:53 +02:00
Román Martínez
99126fa357
Distance interval bugfixed: interval options are km/mi values.
2021-04-17 21:16:32 +02:00
Dennis Guse
bc2a3ddee3
IntervalStatistics/Announcement: use Distance.
2021-04-13 19:18:18 +02:00
Dennis Guse
610da5a106
Statistics*Fragment: keep reference to track instead of TrackStatistics and category.
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
1c6012596e
Use Duration for Markers (instead of long).
2021-04-09 18:34:03 +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
ed5da55fba
Hack: Garmin Speed 2 might count backwards.
2021-03-15 17:27:41 +01:00
Dennis Guse
2431d60171
Cleanup.
2021-03-15 17:27:41 +01:00
Dennis Guse
7d2a6fff59
TrackPointIterator: removed manual batching as it should not be necessary.
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
Román Martínez
bd48944ad5
Track export name: first UUID, name and extension (<First 32bits UUID>_<track's name>.<extension>). Fixes #512 .
2021-03-14 18:42:27 +01:00
Dennis Guse
29b522b8a2
Cleanup.
2021-03-11 21:16:24 +01:00
Dennis Guse
26e655d58f
Cleanup.
2021-03-08 18:11:36 +01:00
Dennis Guse
3dc8a724d8
Bug: StatisticsRecordingFragment: speed and location where sometimes 0.
...
Fixes #628 .
2021-03-07 22:28:53 +01:00
Dennis Guse
3f5c3a5c08
Bugfix: Close cursor.
2021-03-06 18:27:24 +01:00
Dennis Guse
97454b5369
Statistics*Fragment now updates the units on track category change.
2021-03-04 19:18:31 +01:00
Dennis Guse
fce76230e1
TrackDataListener now passes most recent TrackPoint to onNewTrackPointsDone().
2021-03-04 19:18:31 +01:00