Dennis Guse
1f83b71336
Tests: created TrackPointAssert to unify verification.
2021-07-04 16:53:10 +02:00
Dennis Guse
6bb85227ac
Disable test as it fails.
...
See #817 .
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
7ebd532edb
Cleanup using AndroidStudio's code analyzer.
2021-06-24 18:47:49 +02:00
Dennis Guse
e655762c72
EspressoCategoryUnitTest needs to set metricUnits.
2021-06-17 23:26:05 +02:00
Dennis Guse
b947a727e7
Bugfix: while recording UI values were doubled.
...
Issue: copy constructor of TrackStatisticsUpdater was not copying completely and the same reference used.
2021-06-17 23:08:06 +02:00
Dennis Guse
0a1f9dfe41
Cleanup.
2021-06-15 22:55:42 +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
Román Martínez
4c68592a0c
Intervals are computated through TrackStatisticsUpdater. Fixes #703 .
2021-06-15 17:08:16 +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
21376cd3da
Speed and distance each only use one formatting rule.
...
Fixes #648 .
2021-06-08 17:10:23 +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
e580a03115
Cleanup ChartFragment.
2021-05-23 19:52:12 +02:00
Román Martínez
aa34f5d55b
Bugfix: category change didn't update speed/pace correctly.
...
Espresso test added to check that unit is properly.
2021-05-21 21:01:31 +02:00
Román Martínez
93f203bcf1
Track deletion is handled by a service that shows a progress bar on the notification bar. Fixes #735 .
2021-05-17 19:45:26 +02:00
Dennis Guse
c00d769188
SensorDataCycling: use Distance.
2021-05-16 08:35:47 +02:00
Dennis Guse
00489a121a
Bugfix: TrackStatisticsUpdater was computing distance incorrectly.
...
While using a cycling speed and distance sensor, the updater was not using the distance from the most recent trackpoint but rather the one considered last moving.
Fixes #762 .
2021-05-16 08:35:47 +02:00
Dennis Guse
ed6daeb48b
TrackController is now ControllerFragment.
2021-05-12 07:39:47 +02:00
Dennis Guse
e822172f58
Cleanup.
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
fa50db08c3
EGM2008: added undulation data and bilinear computation.
...
Includes data structure for caching.
Part of #224 .
2021-05-05 18:01:07 +02:00
Dennis Guse
b395c19832
Bugfix: voice announcements need to use KM/Miles (instead of m/feet).
...
Fixes #722 .
2021-05-05 17:59:08 +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
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
887d4700d4
TrackDataHub computes TrackStatistics and passes it to listeners.
...
Part of #719 .
2021-04-27 19:02:53 +02:00
Dennis Guse
e2964e805e
Bugfix: NPE in voice announcements using pace.
...
Fixes #724 .
2021-04-21 19:57:29 +02:00
Dennis Guse
7d4072c0d8
Cleanup: ChartPoint uses null instead of NaN.
2021-04-18 17:50:16 +02:00
Dennis Guse
310b35713d
ChartFragmentTest: added test for small changes.
2021-04-18 14:39:48 +02:00
Dennis Guse
bc2a3ddee3
IntervalStatistics/Announcement: use Distance.
2021-04-13 19:18:18 +02:00
Dennis Guse
da70fca389
Bugfix: TrackStatistics handles SEGMENT_START_AUTOMATIC properly.
2021-04-13 19:18:18 +02:00
Dennis Guse
2b5744ccc1
Code cleanup.
2021-04-13 19:18:18 +02:00
Dennis Guse
f0341e831f
Github Actions: somehow the emulator has not enough memory.
...
Fixes #599 .
2021-04-13 19:18:18 +02:00
Dennis Guse
99e5dfbe72
Github Actions: somehow the emulator has not enough memory.
...
Fixes #599 .
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
a899be4598
Use Duration for Markers (instead of long).
...
Now also tests.
2021-04-10 00:08:54 +02:00
Dennis Guse
1e518a4c35
Use a non-static Binder for TrackRecordingService.
...
Fixes #98 .
2021-04-09 18:34:23 +02:00
Dennis Guse
3a073a3b0a
Code cleanup.
2021-04-04 23:31:36 +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