Román Martínez
978206dee4
IntervalsFragment/IntervalStatisticsModel refactoring: better performance with AndroidViewModel (it doesn't recreate the model every track point done anymore).
...
Also, it doesn't jump anymore. Fixes #669 .
2021-04-08 19:46:40 +02:00
Peter Storch
8713eb3d0c
fix #698 added activity icon for kayaking
2021-04-07 13:30:14 +02:00
Dennis Guse
3a073a3b0a
Code cleanup.
2021-04-04 23:31:36 +02:00
Dennis Guse
bc1b4e3cd2
Rename elevation to altitude (without translations).
...
Fixes #678 .
2021-04-04 17:45:38 +02:00
Román Martínez
e09b04308c
Track recording service handles the status of recording: track's id, pause and GPS status.
...
Created an interface for all components that want to know about recording status through the service.
All interface's methods are optional so every component can implement what they need.
Fixes #388 .
2021-04-04 13:15:42 +02:00
Román Martínez
f3cf1a2571
Should instant export after workout if user set a directory and post_workout_export_enabled_key is True. Fixes #694 .
2021-04-03 17:18:40 +02:00
Dennis Guse
7be4ac436c
ChartView: missing (sensor) data does not draw until the end.
...
Fixes #42 .
2021-04-03 15:27:11 +02:00
Dennis Guse
d3c1247617
Bugfix: GPX TrackPointExtension/v2 broken.
...
Fixes #684 .
2021-03-28 18:29:10 +02:00
Dennis Guse
68ba3e0c2a
Bugfix: announcements should consider hours when computing minutes.
...
Fixes #674 .
2021-03-24 17:23:27 +01:00
Dennis Guse
3f21edc44c
Cleanup.
2021-03-21 20:01:57 +01:00
Dennis Guse
aefd1a6a35
Fixed test.
2021-03-21 19:58:18 +01:00
Dennis Guse
0a006d64f9
AnnouncementPeriodicTask: acquire sharedprefences on start (so it can be restarted).
...
Introduced in 15fbd90ca4 .
Fixes #665 .
2021-03-20 15:31:57 +01:00
Román Martínez
6d926ca7a8
Notification manager shows GPS accuracy, distance and speed. Fixes #584 and #483 .
2021-03-18 21:49:55 +01:00
Dennis Guse
ed5da55fba
Hack: Garmin Speed 2 might count backwards.
2021-03-15 17:27:41 +01:00
Dennis Guse
d1e9649505
Garmin Speed 2: added workaround if cadence instead of speed is provided.
2021-03-15 17:27:41 +01:00
Dennis Guse
2431d60171
Cleanup.
2021-03-15 17:27:41 +01:00
Dennis Guse
e08f5e7273
Cleanup: AnnouncementPeriodicTask uses TrackPointsIterator.
2021-03-15 17:27:41 +01:00
Dennis Guse
7d2a6fff59
TrackPointIterator: removed manual batching as it should not be necessary.
2021-03-15 17:27:41 +01:00
Dennis Guse
a5158a55d9
Use distance from cycling speed sensors.
...
Fixes #505 .
2021-03-15 17:27:41 +01:00
Dennis Guse
15fbd90ca4
Performance: Keep reference to sharedPreferences.
...
So far, we opened the SharedPreferences very often, which is very slow; also happened in the UI thread a lot.
Fixes #642 .
2021-03-15 12:01:32 +01:00
Dennis Guse
7b7d7c8061
GPX: export and import power data.
...
Fixes #638 .
2021-03-14 19:22:29 +01:00
Román Martínez
7d6919d3f9
Bug fixed: ImportService send a list of Track.Id.
2021-03-14 19:22:05 +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
503cba1315
Import: allow import multiple select files.
...
Fixes #559 .
2021-03-14 12:48:27 +01:00
Dennis Guse
a313cb6244
Enabling StrictMode for debugging simplified.
2021-03-12 20:15:50 +01:00
Román Martínez
02c578327d
Shared element transition (from List to Recorded).
2021-03-12 19:37:35 +01:00
Román Martínez
7fec0dcff4
StatisticsRecordedFragment does not need to check null for track/trackStatistics. Fixes #635 .
2021-03-12 19:37:35 +01:00
Román Martínez
34eb7a833a
Statistics recorded fragment shows activity's information (name, description, start datetime).
...
Re-arrange stats putting the focus on moving stats.
Fixes #566 .
2021-03-12 19:37:35 +01:00
Dennis Guse
508af45449
Refactored TrackImporter interface.
2021-03-11 21:16:36 +01:00
Dennis Guse
0f89cd7875
GPX: support multiple tracks.
...
Fixes #617 .
2021-03-11 21:16:36 +01:00
Dennis Guse
29b522b8a2
Cleanup.
2021-03-11 21:16:24 +01:00
Román Martínez
e559583d23
Voice announcement in seconds instead of minutes. Fixes #640 .
2021-03-09 20:14:54 +01:00
Dennis Guse
114fc8255f
KML export: remove #start (was broken due to #316 ) and #end (included track statistics) placemarks.
...
Fixes #629 .
2021-03-08 18:11:36 +01:00
Dennis Guse
26e655d58f
Cleanup.
2021-03-08 18:11:36 +01:00
Dennis Guse
815b6a3cf1
StatisticsRecordingFragment: set speed=0 when TrackPoint is outdated.
2021-03-07 22:28:53 +01:00
Dennis Guse
3dc8a724d8
Bug: StatisticsRecordingFragment: speed and location where sometimes 0.
...
Fixes #628 .
2021-03-07 22:28:53 +01:00
Dennis Guse
3f5c3a5c08
Bugfix: Close cursor.
2021-03-06 18:27: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
97454b5369
Statistics*Fragment now updates the units on track category change.
2021-03-04 19:18:31 +01:00
Dennis Guse
f6a47c4594
Statistics*Fragement now uses SharedPreferenceListener instead of accessing preferences repeatedly.
2021-03-04 19:18:31 +01:00
Dennis Guse
fce76230e1
TrackDataListener now passes most recent TrackPoint to onNewTrackPointsDone().
2021-03-04 19:18:31 +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
Manuel Zangl
784942ffd2
Fixed longitudeText in StatisticsRecordingFragment
2021-03-04 17:38:42 +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
8a35835791
GPX export: re-implemented basic support for multiple tracks.
...
Fixes #614 .
2021-02-28 20:56:05 +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
eac7efba64
Upgrade desugar lib.
2021-02-26 21:30:08 +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