Dennis Guse
56ff7827df
TrackRecordingService uses LiveData to transfer data.
...
Replaces pull from UI layer.
Fixes #173 .
2021-05-19 18:36:41 +02:00
Román Martínez
93f203bcf1
Track deletion is handled by a service that shows a progress bar on the notification bar. Fixes #735 .
2021-05-17 19:45:26 +02:00
Dennis Guse
c00d769188
SensorDataCycling: use Distance.
2021-05-16 08:35:47 +02:00
Dennis Guse
d7f339c6f8
Settings: disable voice announcement setting if not TTS available.
...
Fixes #763 .
2021-05-16 08:34:20 +02:00
Dennis Guse
b395c19832
Bugfix: voice announcements need to use KM/Miles (instead of m/feet).
...
Fixes #722 .
2021-05-05 17:59:08 +02:00
Dennis Guse
49219de46a
GPSStatus: update initial and final status.
2021-05-03 22:13:23 +02:00
Dennis Guse
1baf652b81
Bugfix: ChartFragment needs to show elevation in M/FT.
2021-05-03 22:13:23 +02:00
Dennis Guse
6723bfb979
TrackRecordingService: provide status updates via LiveData.
...
Fixes #719
2021-05-03 22:13:23 +02:00
Dennis Guse
b416857001
TrackRecordingService log warnings if unexpected methods are invoked.
2021-04-27 19:02:53 +02:00
Dennis Guse
13f2a09652
Bugfix: AnnouncementPeriodicTask does not need to register as TrackRecordingService.Listener.
2021-04-19 19:29:51 +02:00
Román Martínez
772dad4837
announce called after getting recordingTrackId. Fixed a potencial race condition.
2021-04-17 22:26:23 +02:00
Román Martínez
b2c91d7592
registerListener for barometric sensor uses SENSOR_DELAY_FASTEST instead of nanoseconds. Fixes #714 .
2021-04-17 19:34:05 +02:00
Dennis Guse
bc2a3ddee3
IntervalStatistics/Announcement: use Distance.
2021-04-13 19:18:18 +02:00
Dennis Guse
da70fca389
Bugfix: TrackStatistics handles SEGMENT_START_AUTOMATIC properly.
2021-04-13 19:18:18 +02:00
Dennis Guse
5e1293fc82
For delays/timers: use Duration.
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
Dennis Guse
1c6012596e
Use Duration for Markers (instead of long).
2021-04-09 18:34:03 +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
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
d1e9649505
Garmin Speed 2: added workaround if cadence instead of speed is provided.
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
Román Martínez
e559583d23
Voice announcement in seconds instead of minutes. Fixes #640 .
2021-03-09 20:14:54 +01:00
Dennis Guse
fdf4336a9b
Cleanup.
2021-03-04 19:18:31 +01:00
Dennis Guse
cd4e0abd6f
SensorData: use Instant instead of long.
2021-02-07 23:16:12 +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
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
e9551bea36
Introduced TrackPoint.Id.
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
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
2fa8b998f9
Code cleanup using AndroidStudio's analyze feature.
2020-12-17 19:59:53 +01:00
Dennis Guse
cea180f871
Code cleanup using AndroidStudio's Analyze feature.
2020-12-05 23:22:15 +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
634a7a4321
Bluetooth Sensor: add cycling powermeter.
2020-11-11 21:08:39 +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
Dennis Guse
3a8f3e46c7
Refactor post-workout export.
2020-10-16 12:23:39 +02:00
thrillfall
b270c45691
- add default export directory
...
- add instant post workout track export
2020-10-16 12:23:39 +02:00
Román
547b1d07bd
Bugfix: interval stats announced incorrectly because an error in last interval computing. Fixes #443 .
2020-10-05 20:08:07 +02:00