Dennis Guse
9bb9d5c283
Voice announcement: make rate configurable.
...
Fixes #777 .
2021-06-22 17:19:31 +02:00
Román Martínez
24e18347a6
IntervalsFragment doesn't use TrackDataHub anymore. This improve intervals performance. Fixes #808 .
2021-06-15 17:09:24 +02:00
Román Martínez
4c68592a0c
Intervals are computated through TrackStatisticsUpdater. Fixes #703 .
2021-06-15 17:08:16 +02:00
Dennis Guse
56ff7827df
TrackRecordingService uses LiveData to transfer data.
...
Replaces pull from UI layer.
Fixes #173 .
2021-05-19 18:36:41 +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
1baf652b81
Bugfix: ChartFragment needs to show elevation in M/FT.
2021-05-03 22:13:23 +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
Dennis Guse
bc2a3ddee3
IntervalStatistics/Announcement: use Distance.
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
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
0a006d64f9
AnnouncementPeriodicTask: acquire sharedprefences on start (so it can be restarted).
...
Introduced in 15fbd90ca4 .
Fixes #665 .
2021-03-20 15:31:57 +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
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
e990b413cd
Replace long time_ms with Instant and Duration, respectively.
...
Fixes #561 .
2021-01-24 22:21:36 +01:00
Dennis Guse
2fa8b998f9
Code cleanup using AndroidStudio's analyze feature.
2020-12-17 19:59:53 +01: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
Román
5be4c107f4
Announcement: while recording report current interval pace or speed.
...
Fixes #134 .
2020-09-02 07:52:33 +02:00
Dennis Guse
b70c3be5af
Cleanup: static code analysis using AndroidStudio.
2020-07-20 20:05:45 +02:00
Dennis Guse
a50b1ac78e
Cleanup using Android Studio code analyzer.
2020-04-28 08:07:24 +02:00
Román
65bda35001
Preferred rate settings adapted to new code changes.
2020-04-27 20:25:16 +02:00
Román
83b5ebb02c
Added new option in Preferred rate setting: By Default.
...
With By Default option it will use pace or speed depending on activity type.
Fixes #151 .
2020-04-27 20:02:55 +02:00
Dennis Guse
fbc902e830
Cleanup using AndroidStudio code analyzer.
...
Moved to iterator for loops for ChartView and ChartFragment.
2020-04-05 21:56:26 +02:00
Dennis Guse
16c654141f
Renamed TripStatistics to TrackStatistics.
2020-04-05 21:56:26 +02:00
Dennis Guse
c8a33201f5
Moved annoucement text generation into util class.
2020-03-16 21:43:23 +01:00
Dennis Guse
09fe35f1ca
Cleanup.
2020-01-11 19:31:58 +01:00
Matthias Lisin
ac765b1ee8
Revert duration hint to MAY_DUCK.
...
Pass OnAudioFocusChangeListener to abandonAudioFocus
2019-12-10 12:58:57 +01:00
Dennis Guse
303abac980
Removed READ_PHONE_STATE permission and use AudioManager.MODE_IN_CALL instead.
2019-12-03 22:01:01 +01:00
Dennis Guse
d1a459efc2
Get audio focus onStart.
2019-12-03 20:28:22 +01:00
Dennis Guse
96069e6f09
Cleanup.
2019-12-03 20:24:57 +01:00
Dennis Guse
8e2598e93b
Removed split markers.
2019-12-03 07:31:24 +01:00
Dennis Guse
426af41f2c
Move TTS stream definition into one place.
2019-11-20 19:27:41 +01:00
Dennis Guse
2940bf20d8
Settings: remove all defaults from code.
2019-11-12 21:33:04 +01:00
Dennis Guse
87d92d25f9
Cleanup: mainly code formatting and made LocationIterator implement autoclosable.
2019-09-08 12:39:40 +02:00
Dennis Guse
233522a5e6
Rebranding to OpenTracks (code).
2019-07-26 18:39:35 +02:00