Dennis Guse
45571c68c9
Rename TrackPoint's cycling cadence to cadence as it may contain running data.
...
Part of #970 .
2021-10-19 17:53:08 +02:00
Román Martínez
083b620e41
GPS data recording: remove idle/non-idle changes due to reported speed greater than 0.5mph.
...
This avoids that to storing GPS locations if the user r actually is not moving (likely bad GPS reception).
Fixes #968 .
Co-authored-by: vlmendz <91810638+vlmendz@users.noreply.github.com >
Co-authored-by: Dennis Guse <dennis.guse@alumni.tu-berlin.de >
2021-10-18 23:26:07 +02:00
Dennis Guse
2f7a56bb17
Bugfix: importing files without speed resulted in moving time 0s and max speed of 0.
...
Fixes #982 .
2021-10-18 18:41:53 +02:00
Dennis Guse
d07ab3cc22
TrackRecordingManager: do not store altitude changes twice (previous …
...
…TrackPoint's storage was delayed).
Fixes #969 .
2021-10-16 10:23:09 +02:00
Dennis Guse
90493ae498
TrackRecordingManager: do not store sensor distance twice (previous TrackPoint's storage was delayed).
...
Fixes #969 .
2021-10-16 10:23:09 +02:00
Dennis Guse
f6b994572a
TrackRecordingManager: cache last stored TrackPoint.
2021-10-16 10:23:09 +02:00
Dennis Guse
24826ff442
TrackRecordingManager: cleanup.
2021-10-16 10:23:09 +02:00
Dennis Guse
d97e5ab1ef
TrackRecordingManager: only keep lastTrackPoint if was not stored.
2021-10-16 10:23:09 +02:00
Dennis Guse
52a110d998
Bugfix: reset on SensorDataSet should only take place if the TrackPoint was stored
...
Fixes #969 .
2021-10-16 10:23:09 +02:00
Román Martínez
12e18b0bcd
Bugfix: activity type preference has to update the icon when user change the activity type. Fixes #985 .
2021-10-15 22:16:17 +02:00
Román Martínez
66dac4b0ca
Reorganize settings into multiple pages. The main page has icons, titles and summaries. Fixes #960 .
2021-10-15 22:04:54 +02:00
Dennis Guse
2f5b7b63e4
Opening from notification: pressing back goes to TrackListActivity.
...
Fixes #928 .
2021-10-14 18:33:44 +02:00
Ristello
58ca78b976
Removed interface AppConfig, since it is technically not needed.
2021-10-13 22:02:38 +02:00
Ristello
8079a25a42
Use an in-memory database when running instrumented tests.
...
- added new TestRunner and new TestApplication
- The TestRunner loads TestApplication as the apps Application instance when running the tests
- added new interface AppConfig to retrieve the database name
- changed Startup (Application) so that it implements AppConfig
- changed CustomSQLiteOpenHelper so that it retrieves the database name from the Application instance
- Startup provides the production database name
- TestApplication provides null which yields an in-mememory database
2021-10-13 22:02:38 +02:00
Dennis Guse
0527e4ab14
Cleanup: move AnnouncementUtils to VoiceAnnouncement.
...
Part of #963
2021-10-12 22:24:51 +02:00
Dennis Guse
b6b4c5aa39
Cleanup: move PreferencesUtils into settings package.
...
Part of #963
2021-10-12 22:24:51 +02:00
Dennis Guse
8c5c9d7947
Cleanup: extract preference functionality from StringUtils to PreferenceHelper.
...
Part of #963 .
2021-10-12 22:24:51 +02:00
Dennis Guse
eac3d4b3db
Cleanup: SharedPreference as static variable.
...
Fixes #961 .
2021-10-12 22:24:51 +02:00
Dennis Guse
d76d5673a8
Bugfix: running sensor's data should be null if not connected.
...
Fixes #950 .
2021-10-09 14:24:50 +02:00
Timo Schwarzer
f070495fb4
Ask for permission before using Bluetooth
2021-09-22 22:14:53 +02:00
Román Martínez
d99fb5ea47
Cadence set to 0 when connected but user is not pedaling. Fixes #931 .
...
Speed set to 0 when connected but last value is outdated. Fixes #930 .
Bug: overflow when reset sensors (cadence and speed). Fixes #833 .
Moving time stops when is not moving (the last track point is not moving) and restarts when last track point is moving.
2021-09-21 18:07:23 +02:00
Román Martínez
d69a726e0e
Renaming variables.
2021-09-18 16:17:29 +02:00
Román Martínez
e0111c2ffd
Gain and loss are integers.
2021-09-18 16:17:29 +02:00
Timo Schwarzer
487bd6c3a0
Set FLAG_IMMUTABLE for PendingIntents
...
This fixes a crash on Android 12, since it explicitly requires setting either FLAG_MUTABLE or FLAG_IMMUTABLE
2021-09-07 23:18:14 +02:00
Román Martínez
40aab9444a
Time interval setting is in minutes.
2021-09-06 22:06:48 +02:00
Dennis Guse
932bb5ed5a
KMLTrackExporter: uses NumberFormat to export sensor data.
...
Fixes #832 .
2021-08-30 17:48:01 +02:00
Dennis Guse
8f2d1722ad
Announcements: can be triggered by time and distance (instead of either).
...
Fixes #921 .
2021-08-30 17:24:51 +02:00
Dennis Guse
9cb3d8c1bb
Finished renaming: TrackPointCreator was still referenced as HandlerServer.
2021-08-30 17:24:51 +02:00
Dennis Guse
fa02ba9c69
Voice announcements: if TTS is not available play a sound file.
...
Fixes #862 .
2021-08-30 17:24:51 +02:00
Dennis Guse
4f31607e3e
Voice announcements are now triggered by the TrackRecordingService's timer that is also used for UI updates.
2021-08-30 17:24:51 +02:00
Dennis Guse
b5165de7f0
PeriodicTaskExecutor: use a Handler instead of Timer.
2021-08-30 17:24:51 +02:00
Dennis Guse
b32e87e10b
PeriodTaskFactory: refactor interfaces.
2021-08-30 17:24:51 +02:00
Dennis Guse
d5cfd118f6
Cleanup.
2021-08-28 19:00:06 +02:00
Dennis Guse
5981340bb9
TrackRecordingManager: only keeps reference to TrackId.
2021-08-28 19:00:06 +02:00
Dennis Guse
d77b9243af
RecordingStatus provides methods for status changes.
2021-08-25 22:58:45 +02:00
Dennis Guse
68c447f77e
Removed AdaptiveLocationListenerPolicy.
...
Fixes #886 .
2021-08-24 18:26:09 +02:00
Román Martínez
13380afef0
TrackRecordingManager only updates track's statistics every time a new track point is inserted. Fixes #916 .
2021-08-22 20:01:38 +02:00
Román Martínez
9c4c8131f5
Recording stats layout customizable.
...
Users can select the order, visibility and importance (primary or secondary) of all stats for recording layout from the Settings.
Also, users can select the number of columns per row in the recording layout: 1, 2 or 3.
Finally, show altitude/coordinate from settings have been removed (not needed anymore).
Fixes #659 .
Fixes #302 .
Fixes #820 .
2021-08-21 19:40:31 +02:00
Dennis Guse
1f84e44a8d
Bugfix: LocationHandler should ignore locations after stopping.
2021-08-15 14:30:57 +02:00
Dennis Guse
6f3efd9ff2
Bugfix: reset TrackRecordingManager properly.
...
Fixes #901 .
2021-08-07 19:37:14 +02:00
Román Martínez
017eee8b68
Bugfix: generated fields for include and merge tags. Fixes #902 .
2021-08-05 18:01:34 +02:00
Dennis Guse
a3872581bb
Cleanup: Renamed HandlerServer to TrackPointCreator.
2021-08-01 18:40:38 +02:00
Dennis Guse
fc0cec6157
Share picture: if sharing a track, a share picture (PNG) is created in addition.
...
Fixes #363 .
2021-08-01 18:22:42 +02:00
Dennis Guse
242147e491
Sensor: adding Running Speed and Cadence.
...
Fixes #891 .
2021-07-31 18:44:42 +02:00
Dennis Guse
eba7a7fd89
Settings: use already available custom summary.
2021-07-31 17:54:57 +02:00
Dennis Guse
348f74c4b3
Cleanup.
2021-07-31 17:54:57 +02:00
Dennis Guse
54be1b74fb
Lint: fix AGP7.0.0 found linting errors.
2021-07-29 22:54:57 +02:00
Dennis Guse
bb90c53057
Simplified voice announcement interface.
...
Part of #822 .
2021-07-22 17:18:31 +02:00
Dennis Guse
bd5bf530f0
TrackRecordingService: extracted storing data into TrackRecordingManager.
...
Part of #822 .
2021-07-22 17:18:31 +02:00
Dennis Guse
a4580fc84e
Cleanup.
2021-07-22 17:18:31 +02:00