Dennis Guse
e822172f58
Cleanup.
2021-05-08 14:40:32 +02:00
Dennis Guse
50127e311a
Introduced value object for Altitude.
2021-05-05 18:01:07 +02:00
Dennis Guse
887d4700d4
TrackDataHub computes TrackStatistics and passes it to listeners.
...
Part of #719 .
2021-04-27 19:02:53 +02:00
Dennis Guse
391dfd30e2
TrackDataHub does not need to register for status changes of TrackRecordingService.
...
This is handled by TrackRecordingActivity alone.
Part of #719 .
2021-04-27 19:02:53 +02:00
Román Martínez
b784a47af6
Bugfix: track stats always show pace. Fixes #726 .
2021-04-25 15:21:08 +02:00
Dennis Guse
5e1293fc82
For delays/timers: use Duration.
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
1e518a4c35
Use a non-static Binder for TrackRecordingService.
...
Fixes #98 .
2021-04-09 18:34:23 +02:00
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
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
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
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
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
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
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
Dennis Guse
4040e3f45b
Bugfix: crash on recording start due to show latitude/longitude option.
...
Fixes #613 .
2021-02-27 18:37:42 +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
c3741611dc
TrackStatisticsUpdater updates only by adding TrackPoints.
...
#316 .
2021-01-24 22:21:37 +01:00
Dennis Guse
d157e94220
Marker refactoring.
...
Location values are stored directly.
2021-01-24 22:21:37 +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
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
eb02c4c469
Marker images can now be shared from the list directly via the context menu (like tracks).
...
Fixes #495 .
2020-12-25 18:36:41 +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
19a7ef3217
Activity icon now properly tint'ed in detail activity.
2020-12-19 18:29:34 +01:00
Dennis Guse
2fa8b998f9
Code cleanup using AndroidStudio's analyze feature.
2020-12-17 19:59:53 +01:00
Dennis Guse
55fa6d2d79
Code cleanup using AndroidStudio.
2020-12-13 18:05:08 +01:00
Dennis Guse
96371336f4
MarkerDetailFragment: load markerId once in onCreate().
2020-12-13 17:12:03 +01:00
Dennis Guse
1862e38a20
Compare resourceIds via if rather than switch.
...
As of ADT 14 as well as Gradle Plugin 5.0 those are not final anymore.
Fixes #544 .
2020-12-12 22:14:51 +01:00
Dennis Guse
be1b6ece9d
IntervalsFragment: generate UI values from strings.xml (i18n).
2020-12-05 23:11:29 +01:00
Dennis Guse
a74b5fc743
Cleanup.
2020-11-21 18:42:32 +01:00
Román Martínez
974baaf611
Marker Bugfixes: markers deletion didn't work and track import didn't include marker's photos. Fixes #514 .
...
Marker edition bugfixed: orphan photos are deleted.
2020-11-17 22:02:26 +01:00
Dennis Guse
96bc347374
Activity icon uses now an image instead of a spinner (which was only used as an icon).
...
Fixed #503 .
2020-11-17 21:43:12 +01:00
Román Martínez
d01715444f
Adaptive recording layout for sensors (heart rate, cycling cadence and cycling power).
2020-11-11 21:08:39 +01:00
Dennis Guse
634a7a4321
Bluetooth Sensor: add cycling powermeter.
2020-11-11 21:08:39 +01:00
Román Martínez
28890abd47
Bugfix: view changed from wrong thread. Fixes #509 .
2020-11-09 20:19:08 +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
0209a90e01
Code cleanup.
2020-11-01 08:38:47 +01:00
Dennis Guse
0f92a37146
Use ViewBinding for activities.
2020-11-01 08:20:26 +01:00
Dennis Guse
9cebb1013c
Implement ViewBindings for Fragments.
2020-10-31 22:21:49 +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
b6850eb46f
BluetoothSensorManager: on initiate connect to sensor, report address to be shown on UI.
...
Fixes #64 .
2020-10-31 22:21:49 +01:00