Dennis Guse
50127e311a
Introduced value object for Altitude.
2021-05-05 18:01:07 +02:00
Dennis Guse
1baf652b81
Bugfix: ChartFragment needs to show elevation in M/FT.
2021-05-03 22:13:23 +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
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
Dennis Guse
a5158a55d9
Use distance from cycling speed sensors.
...
Fixes #505 .
2021-03-15 17:27:41 +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
fdf4336a9b
Cleanup.
2021-03-04 19:18:31 +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
Dennis Guse
4040e3f45b
Bugfix: crash on recording start due to show latitude/longitude option.
...
Fixes #613 .
2021-02-27 18:37:42 +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
d157e94220
Marker refactoring.
...
Location values are stored directly.
2021-01-24 22:21:37 +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
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
e9551bea36
Introduced TrackPoint.Id.
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
Dennis Guse
f4fe1d8d97
Marker.Id must now always be valid (if present).
2021-01-10 20:25:59 +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
Román Martínez
483736637e
Refactoring MarkerEditActivity. Logic has been moved to a ViewModel.
2020-12-17 19:15:35 +01:00
Peter Storch
b2df79caf2
fix #516 post workout export fails silently ( #520 )
...
Change the post workout export to use the ExportService (JobIntentService) and directing the user to the SettingsActivity in case the export failed to check the export directory.
2020-11-20 20:59:52 +01:00
Dennis Guse
8d141b1324
TrackListActivity now loads marker count via join rather than a 2nd select.
...
Fixes #328 .
2020-11-01 21:53:11 +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
Peter Storch
433ab01ece
Track.Id.toString returns string representation of id
2020-10-22 19:17:53 +02:00
Dennis Guse
e939778beb
Refactor: use marker instead of waypoint.
...
Fixes #389 .
2020-09-23 17:16:34 +02:00
Dennis Guse
0dfd31a308
Code cleanup via Android Studio analyze.
...
Notably change: TrackPoint's copy constructor missed to copy the elevationGain.
2020-09-20 18:46:05 +02:00
Dennis Guse
6845ce4984
Elevation gain: make it optional as Float.
...
So if no sensor data is provided, it is not stored in the database and not exported.
2020-09-05 12:39:23 +02:00
Román
577b9b4635
Alter table trackpoints: added elevation gain to the trackpoints table.
2020-09-05 12:39:23 +02:00
Dennis Guse
8a14bc46f6
Implement elevation gain via barometer.
2020-09-05 12:39:22 +02:00
Dennis Guse
9d6c9676ab
Refactoring to marker: content-package and fragments.
...
#389
2020-09-05 10:37:41 +02:00
Dennis Guse
74e09e1fa9
Refactoring to marker: data class and ContentProviderUtils.
...
#389
2020-09-05 10:20:16 +02:00
Dennis Guse
0ab14e0f3d
Implement Track.Id and Waypoint.Id (with tests).
...
Fixes #276 .
2020-08-22 23:18:48 +02:00
Dennis Guse
bcbaf4985a
Implement Track.Id and Waypoint.Id (without tests).
...
Fixes #276 .
2020-08-22 23:18:48 +02:00
Dennis Guse
5c96774e79
ContentProvider can now lookup tracks via UUID.
2020-08-15 21:12:10 +02:00
Dennis Guse
6d091dfa81
Fixes NPE on MarkerEditActivity when taking a photo and trigger an orientation change. ( #327 )
...
Fixes #325 .
2020-07-18 22:52:19 +02:00
Peter Storch
97ad6bc2f8
expose waypoints to dashboard
...
Necessary for https://github.com/OpenTracksApp/OSMDashboard/issues/48
2020-07-18 18:56:53 +02:00
Dennis Guse
c9869bab0e
Generate UUID for each track (necessary for synchronization).
...
Fixes #294 .
2020-06-30 12:39:30 +02:00
Dennis Guse
3408ea97f4
Refactoring: move TrackPointDataSet directly into TrackPoint.
2020-04-27 07:17:46 +02:00
Dennis Guse
ddb17f61cb
Bluetooth LE: implemented cycling cadence and speed sensors.
...
Cadence is working while speed still requires the wheel size.
2020-04-27 07:17:46 +02:00
Dennis Guse
1d838344dc
TrackRecordingService: test inserting locations.
2020-04-15 22:37:31 +02:00
Dennis Guse
ec39e67a09
Removed Waypoint default constructor used by testing.
...
This avoids a null check for Waypoint.getLocation().
2020-04-14 07:12:56 +02:00
Dennis Guse
1a86db0a8b
Cleanup.
2020-04-13 20:23:40 +02:00
Dennis Guse
2ef74eb908
Automated code cleanup using AndroidStudio.
2020-04-05 21:56:26 +02:00