Román Martínez
2f3d9a29f3
Fixed a bug: TrackDataHub will send to listeners all TrackPoints every time a change on trackpoints table was observed. Fixes #582 .
2021-01-30 23:15:54 +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
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
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
393e2022a1
Bugfix: database downgrade from 30 to 29 removed required elevation_gain column.
2021-01-24 22:06:48 +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
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
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
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
5a0cb10838
Bugfix: cadence and speed now can compare when data is not set.
2020-11-11 21:25:56 +01:00
Dennis Guse
55c45b2050
Bugfix: SensorDataCycling.toString() should use attributes instead of their getters.
2020-11-11 21:08:39 +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
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
0f92a37146
Use ViewBinding for activities.
2020-11-01 08:20:26 +01:00
Dennis Guse
6ac0db7238
Move handling of sensor removal (from settings) in BluetoothConnectionManager.BluetoothConnectionManager.
2020-10-31 22:21:49 +01:00
Dennis Guse
3c1ab01df6
SensorData uses null internally instead of NaN.
2020-10-31 22:21:49 +01:00
Dennis Guse
b6850eb46f
BluetoothSensorManager: on initiate connect to sensor, report address to be shown on UI.
...
Fixes #64 .
2020-10-31 22:21:49 +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
Peter Storch
433ab01ece
Track.Id.toString returns string representation of id
2020-10-22 19:17:53 +02:00
Román
679c1d7e3e
Intervals: TrackDataHub instead of ContentProvider. Fixes #453 .
2020-10-11 12:12:44 +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
Román
a6e275f8aa
Several hidden bugfixes around Track.Id
2020-09-09 17:53:07 +02:00
Román
a61468d600
Bugfix: String.valueOf doesn't work with Track.Id. Fixes #422 .
2020-09-09 17:53:07 +02:00
Dennis Guse
5099118dd7
Elevation gain: make it optional as Float - and if null, then the UI just shows "-".
...
In TrackStatistics the elevation gain is now nullable.
2020-09-05 12:39:23 +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
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
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
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