Dennis Guse
0d493c410e
Merge branch 'barometer#10' into main
2020-09-06 22:34:54 +02:00
Román
4220c62ac0
Bugfix: interval recording fragment has to keep select interval.
2020-09-06 12:21:39 +02:00
Dennis Guse
4b73567075
Bugfix: ClassCastException of Marker.Id
2020-09-06 08:06:29 +02:00
Dennis Guse
e956cf14c4
Present speed only with one fractional digit.
2020-09-05 20:53:55 +02:00
Román
a1646e1b76
Bugfix: bad equal comparison between Track.Id objects.
2020-09-05 15:46:49 +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
Dennis Guse
04b8d0f4a8
Import/Export: elevation gain per TrackPoint.
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
4b7de188fd
Elevation gain adheres to visibility setting.
2020-09-05 12:39:23 +02:00
Román
3bfb212dc9
Bugfix: reset elevation every time track point is inserted.
2020-09-05 12:39:22 +02:00
Dennis Guse
be7eb41cf3
Bugfix: previous total elevation gain was added twice.
2020-09-05 12:39:22 +02:00
Dennis Guse
c7db4f528e
Elevation gain: apply exponential smoothing and limit changes (defined change diff per sensor value).
2020-09-05 12:39:22 +02:00
Dennis Guse
8a14bc46f6
Implement elevation gain via barometer.
2020-09-05 12:39:22 +02:00
Dennis Guse
01ee1a1e49
Renamed DoubleBuffer to DoubleRingBuffer.
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
19d8563a76
Refactoring to marker: TrackRecordingService.
...
#389
2020-09-05 10:20:16 +02:00
Dennis Guse
74e09e1fa9
Refactoring to marker: data class and ContentProviderUtils.
...
#389
2020-09-05 10:20:16 +02:00
Román
6533e3e170
Recording intervals received a null trackId because trackId is created in a Runnable.
...
Unit changed needs refreshing the intervals.
Fixes #406 .
2020-09-05 10:18:01 +02:00
Dennis Guse
f128111650
Code cleanup.
2020-09-05 01:19:59 +02:00
Dennis Guse
38fadda762
Bugfix: show on map via GPX/KML/KMZ was failing.
...
We were sending the trackId as intent extra (actually unused) and this trackId could not be unparceled.
Fixes #411 .
2020-09-05 01:19:59 +02:00
Dennis Guse
d6d40b01e6
Refactoring.
...
Also fixes #406 .
2020-09-05 01:17:40 +02:00
Román
b88f81726b
Bugfix: location handler didn't remove updates. Fixes #403 .
2020-09-03 15:32:44 +02:00
Dennis Guse
24e6cdec62
Interval Stats: fixed NPE introduced in 25ef0ecad1.
...
Includes some refactoring.
2020-09-02 23:12:52 +02:00
Román
89c44af374
Recorded stats: natural order for intervals.
2020-09-02 14:32:32 +02:00
Dennis Guse
25ef0ecad1
Interval Stats: use a tab for recorded tracks as well.
2020-09-02 07:52:33 +02:00
Román
5be4c107f4
Announcement: while recording report current interval pace or speed.
...
Fixes #134 .
2020-09-02 07:52:33 +02:00
Román
65f42dd3e5
Interval Stats: improve code and fixed some UI issues.
2020-09-02 07:52:33 +02:00
Román
287d246777
Interval Stats: track's id it's not long anymore.
2020-09-02 07:52:33 +02:00
Román
d56f652d0a
Interval stats: while user is recording a track intervals are refreshed every 5 seconds.
...
Interval stats: completed the list of split intervals: 1, 2, 3, 4, 5, 10, 20 or 50 km or mi.
Fixes #87 .
2020-09-02 07:52:33 +02:00
Román
22a669a573
Interval stats: added a new tab in TrackRecordingActivity that shows the intervals on live.
2020-09-02 07:52:33 +02:00
Román
f55cce5614
Interval stats: improve code.
2020-09-02 07:52:33 +02:00
Román
a6c3cf1c28
Interval statistics: listen preferred units change (metric/imperial) and recreate intervals.
2020-09-02 07:52:33 +02:00
Román
cbc803d038
Interval statistics: retain interval value after change orientation and recreation.
2020-09-02 07:52:33 +02:00
Román
a8cefcd0fd
Interval statistics: show accumulate in distance column.
2020-09-02 07:52:33 +02:00
Román
2b95dbab22
Adjusted intervals.
2020-09-02 07:52:33 +02:00
Román
7a923a947e
Added intervals in StatisticsRecordedFragment with distance, speed and pace for all activity types.
...
Users can select the length of the interval (in a spinner with several options).
The intervals will be in km or mi depending on settings.
2020-09-02 07:52:33 +02:00
Román
19e35a7609
StatisticsRecordedFragment doesn't need TrackDataHub.
...
TrackRecordedActivity saves Track object instead of track's id.
2020-09-02 07:52:33 +02:00
Dennis Guse
b8088169ee
Settings: animate the Bluetooth icon.
...
Fixes #314 .
2020-09-01 22:19:19 +02:00
Román
a733d87c37
Bugfix: export all failed trying to convert to string the Track.Id.
2020-08-31 12:25:58 +02:00
Peter Storch
24ff73ab06
Fix force close on stop button for older devices ( #393 )
...
* correct thread handling in ButtonDelay
Discovered in #390 for devices with API Level 25. Not fixing the whole issue, but a first step.
* fix #390 crash when stopping for older devices
The VectorDrawable ic_button_stop.xml referenced from withing the AnimatedVectorDrawable ic_button_stop_anim.xml was a problem for older devices. Now the VectorDrawable is expanded (duplicated) inside the AnimatedVectorDrawable. Now it is working. Even with the animation.
2020-08-27 08:11:10 +02:00
Dennis Guse
60d5e7e515
Reset recordingTrackId on application Startup.
...
This is necessary if the TrackRecordingService crashed.
2020-08-23 17:36:30 +02:00
Dennis Guse
c610758ae1
Move CursorLoader to ContentProviderUtils.
2020-08-23 00:09:02 +02:00
Dennis Guse
17d2755844
Bugfix: MarkerDetailActivity: compare waypointId properly using equals.
...
Introduced in bcbaf4985a
2020-08-23 00:08:58 +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
b2e8713db0
Desugar: removed manual date parsing on API26.
2020-08-21 07:01:16 +02:00
Román
75043325ff
Fix comment.
2020-08-19 22:04:40 +02:00
Román
1ff986f1e6
Gps Status: bugfixes.
...
Bugfix 1: race condition issue fixed with a flag.
Bugfix 2: location time issue fixed setting the time every time a location is received.
2020-08-19 14:02:47 +02:00