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
d157e94220
Marker refactoring.
...
Location values are stored directly.
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
e990b413cd
Replace long time_ms with Instant and Duration, respectively.
...
Fixes #561 .
2021-01-24 22:21:36 +01:00
Dennis Guse
f635d56ceb
Cleanup.
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
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
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
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
Dennis Guse
55fa6d2d79
Code cleanup using AndroidStudio.
2020-12-13 18:05:08 +01:00
Román Martínez
9c9bdde6b9
Import files by track in memory (avoid clean track when error). Fixes #473 .
2020-11-25 06:39:07 +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
8d141b1324
TrackListActivity now loads marker count via join rather than a 2nd select.
...
Fixes #328 .
2020-11-01 21:53:11 +01:00
Peter Storch
43e0f33776
optimize multiple track deletion
...
After #480 got implemented, we can now delete multiple tracks in one go and only cause DB vacuum once.
2020-11-01 21:11:58 +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
Dennis Guse
2b280f050c
SharedContentProvider now uses parent ContentProvider directly instead of ContentProviderUtils.
2020-10-30 21:25:41 +01:00
Román
fe3bf61acb
Squash: load TrackPoint elevationGain.
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
74e09e1fa9
Refactoring to marker: data class and ContentProviderUtils.
...
#389
2020-09-05 10:20:16 +02:00
Román
5be4c107f4
Announcement: while recording report current interval pace or speed.
...
Fixes #134 .
2020-09-02 07:52:33 +02:00
Dennis Guse
c610758ae1
Move CursorLoader to ContentProviderUtils.
2020-08-23 00:09:02 +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
6a397922d2
Cleanup using IntelliJ's analyze code.
2020-08-16 20:13:09 +02:00
Dennis Guse
5c96774e79
ContentProvider can now lookup tracks via UUID.
2020-08-15 21:12:10 +02:00
Dennis Guse
c26a5edc03
Make track import behavior on duplicate UUID configurable (default: import with a new UUID).
2020-08-15 21:12:10 +02:00
Dennis Guse
db1167ead5
Find track by UUID.
2020-08-15 21:12:10 +02:00
Dennis Guse
b676fd6614
SearchEngineTest: do not use production database.
...
Partly fixes #143 .
2020-08-10 15:39:53 +02:00
Dennis Guse
98c3169929
Track deletion UI: code cleanup.
2020-07-08 08:25:36 +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
3a5220546e
Dashboard API: fallback to "open as KMZ" implemented as proxy activity.
...
We are not allowed to query for installed packages as of Android R (API 30).
2020-06-13 17:56:59 +02:00
Román
5be4129ba9
Edit marker: if user deletes photo then photo is deleted from internal storage too. Fixes #208 .
2020-05-09 15:44:10 +02:00
Román Martínez
240d8f6b6c
Images/folders are deleted when tracks/waypoints are deleted.
...
This fixes #189 .
2020-04-27 18:18:02 +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
fd826199e2
Tests for TrackRecordingService (pause/resume/restart).
2020-04-14 22:13:14 +02:00
Dennis Guse
f485d90ef2
ContentProviderUtils.bulkInsertTrackPoint(): removed length parameter.
2020-04-14 19:42:17 +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
fbc902e830
Cleanup using AndroidStudio code analyzer.
...
Moved to iterator for loops for ChartView and ChartFragment.
2020-04-05 21:56:26 +02:00
Dennis Guse
16c654141f
Renamed TripStatistics to TrackStatistics.
2020-04-05 21:56:26 +02:00
Dennis Guse
364b4702e3
Waypoint requires a non-null location.
...
Remove setLocation() from Waypoint and TrackPoint.
2020-03-30 19:52:06 +02:00
Dennis Guse
a98c16de28
Removed TrackPointFactory.
...
New TrackPoints are now always created and old ones not reused.
2020-03-30 19:52:06 +02:00
Dennis Guse
194379295d
TrackPoint has Location as delegate instead of inheritance.
2020-03-30 19:52:06 +02:00
Dennis Guse
901cffee97
Use TrackPoint instead of Location (and omit casting).
2020-03-30 19:52:06 +02:00