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
508af45449
Refactored TrackImporter interface.
2021-03-11 21:16:36 +01:00
Dennis Guse
29b522b8a2
Cleanup.
2021-03-11 21:16:24 +01:00
Dennis Guse
a13465391f
Import: replaced SAXParserException as it only shows the message of it's cause.
2021-03-06 18:13:06 +01:00
Dennis Guse
844c6e9609
TrackPoint: moved methods into class.
2021-03-04 19:18:31 +01:00
Román Martínez
edf4ccc941
It computes the average for heart rate, cadence, and power (duration-based average) and the maximum for heart rate and cadence.
2021-03-02 19:55:18 +01:00
Román Martínez
a9624f72e7
Track recorded stats shows sensor data from trackpoints table.
...
Heart rate: maximum and average.
Cadence: maximum and average.
Power: average.
Fixes #525 and #502 .
2021-02-14 17:34:19 +01:00
Dennis Guse
bb38d274fb
Voice announcements: cleanup.
2021-02-13 14:27:54 +01:00
Dennis Guse
fa12086951
GPX: only export TrackPoints with lat/lng. ( #591 )
...
GPX: only export TrackPoints with lat/lng.
Thus, segmentation (manual/automatic) cannot be restored on import.
This also affects the TrackStatistics.
2021-02-09 19:00:28 +01:00
Dennis Guse
bdfcd9c89f
TrackStatistics: merge previous segment whenever a new starts/ends.
...
(also adapting the test).
2021-01-24 22:49:40 +01:00
Dennis Guse
cbe469d5e4
Import: empty tracks cannot be imported as TrackStatistics cannot be restored.
...
#316 .
2021-01-24 22:21:37 +01:00
Dennis Guse
e0553f812f
Import: segments might contain no TrackPoints.
...
#316 .
2021-01-24 22:21:37 +01:00
Dennis Guse
5aa016b5b9
Import: compute TrackStatistics onTrackEnd.
...
ExportImportTest were not checking TrackStatistics correctly.
#316 .
2021-01-24 22:21:37 +01:00
Dennis Guse
c3741611dc
TrackStatisticsUpdater updates only by adding TrackPoints.
...
#316 .
2021-01-24 22:21:37 +01:00
Dennis Guse
d157e94220
Marker refactoring.
...
Location values are stored directly.
2021-01-24 22:21:37 +01:00
Dennis Guse
022d8146fe
TrackDataHub always sends via handler.
2021-01-24 22:21:37 +01:00
Dennis Guse
912fd1aa2f
TrackStatistics startTime/stopTime is null on creation.
2021-01-24 22:21:36 +01:00
Dennis Guse
1d46981717
Cleanup.
2021-01-24 22:21:36 +01:00
Dennis Guse
e990b413cd
Replace long time_ms with Instant and Duration, respectively.
...
Fixes #561 .
2021-01-24 22:21:36 +01:00
Dennis Guse
9f6d6711e5
Segments: on import restore manual segment start/end if resume/pause trackpoints were exported.
2021-01-24 22:21:36 +01:00
Dennis Guse
ab47320216
Segments: import/export is working incl. restoring TrackStatistics.
...
KML exports sensor data if actually present.
#316 .
2021-01-24 22:21:36 +01:00
Dennis Guse
47b2d0748a
Segments: only insert one trackpoint and set the type.
...
Existing data is not migrated.
#316 .
2021-01-24 22:21:36 +01:00
Dennis Guse
bc66cd33a9
Use system time instead of GPS-provided time.
...
#316 .
2021-01-24 22:21:36 +01:00
Dennis Guse
fcc17413e3
Segments: use TrackPoint.type.
...
So, far specific latitude for segment start/end (i.e., PAUSE/RESUME) was used.
#316 .
2021-01-24 22:21:36 +01:00
Dennis Guse
50bb0b14b4
Segments: database upgrade/downgrade functionality for version 30; version 29 is still used.
...
This will store segment data in TrackPoint.type.
This commit will enable downgrading to previous version.
#316 .
2021-01-24 21:14:50 +01:00
Dennis Guse
e9551bea36
Introduced TrackPoint.Id.
2021-01-10 20:25:59 +01:00
Dennis Guse
577b978a5c
Cleanup.
2021-01-10 20:25:59 +01:00
Dennis Guse
a689b6eb2c
Cleanup: removed descending iterator for TrackPoints.
2021-01-10 20:25:59 +01:00
Dennis Guse
ccd93dd17d
Track.Id must now always be valid (if present).
2021-01-10 20:25:59 +01:00
Román Martínez
fd1b7b8af9
Added opentracks:gain and opentracks:loss information in GPX files. Fixes #555 .
2020-12-26 20:30:10 +01:00
Román Martínez
4714171e21
Added elevation loss via barometer (like elevation gain). Fixes #547 .
2020-12-25 18:19:01 +01:00
Dennis Guse
f261e8ab9d
Cleanup.
2020-12-17 23:16:09 +01:00
Dennis Guse
a41160229d
Implement basic EspressoUI test.
2020-12-17 23:16:09 +01:00
Dennis Guse
2fa8b998f9
Code cleanup using AndroidStudio's analyze feature.
2020-12-17 19:59:53 +01:00
Dennis Guse
5675dc800d
Aggregated stats: ordered by number number of tracks per category.
2020-12-13 22:44:44 +01:00
Dennis Guse
2255624235
Cleanup: rename waypoint to marker (tests).
2020-12-13 18:05:08 +01:00
Dennis Guse
55fa6d2d79
Code cleanup using AndroidStudio.
2020-12-13 18:05:08 +01:00
Dennis Guse
cea180f871
Code cleanup using AndroidStudio's Analyze feature.
2020-12-05 23:22:15 +01:00
Peter Storch
215c28be85
fix #537 ignore waypoint markers with invalid
...
coordinates on import.
I've also added a unit test with such an export file.
2020-11-29 13:56:22 +01:00
Dennis Guse
a429fbe4df
Interval list: RTL and localized formatting (only default strings.xml).
2020-11-28 15:05:49 +01:00
Dennis Guse
6b690f38ad
Charts: text size is resolved from styles.
...
Fixes #524 .
2020-11-28 15:05:49 +01:00
Dennis Guse
f138826d60
Text in charts now scales using Android's global settings.
...
Fixes #524 .
2020-11-28 15:05:49 +01:00
Dennis Guse
a74b5fc743
Cleanup.
2020-11-21 18:42:32 +01:00
Dennis Guse
5a0cb10838
Bugfix: cadence and speed now can compare when data is not set.
2020-11-11 21:25:56 +01:00
Dennis Guse
634a7a4321
Bluetooth Sensor: add cycling powermeter.
2020-11-11 21:08:39 +01:00
Dennis Guse
9ef312fc93
Search is now handled by TrackListActivity and MarkerListActivity.
...
* data is loaded via cursor,
* removed custom ranking (handled in database),
* search text is wrapped with wildcards, and
* search view can be closed by back button.
Fixes #492 .
2020-11-09 18:56:25 +01:00
Dennis Guse
9541a92657
Small cleanups and improvements code.
2020-10-31 20:39:37 +01:00
Román Martínez
acc2627bde
Activity with progress and summary for import all option. Fixes #471 .
...
ErrorListDialog shared by ExportActivity and ImportActivity.
2020-10-31 20:39:37 +01:00
Dennis Guse
48c3695b5d
Database enforces foreign key constraints incl. cascading deletes. ( #480 )
...
* Database enforces foreign key constraints incl. cascading deletes.
Fixes #317 .
2020-10-30 21:26:13 +01:00
Román
0036934fb3
Intervals: added elevation gain and only shows speed or pace, depending on settings.
2020-10-11 12:12:44 +02:00