Dennis Guse
c4e2023992
Public API: allow setting track properties (name, category, description) on StartRecording.
...
Fixes #1282 .
2022-07-03 17:32:21 +02:00
Dennis Guse
92f6fbe04a
Prevent crash if no dashboard is installed.
2022-06-27 23:03:23 +02:00
Dennis Guse
cecc586868
Bugfix: export was not checking properly if file exists.
...
Fixes #1283 .
2022-06-19 17:24:18 +02:00
Peter Storch
1108684d06
Add "show on map" format selection dialog
2022-05-30 07:51:00 +02:00
Dennis Guse
e409b315b4
Refactor permission requests.
...
Fixes #1224 .
2022-05-19 19:30:20 +02:00
Peter Storch
17ad13d559
Add ExceptionHandler and ShowErrorActivity
2022-05-19 06:12:58 +02:00
Dennis Guse
0d3cf4ce0d
Configurable filename for export: used for all automatic exports after recording, exporting all, and sharing tracks.
...
Fixes #512 .
2022-05-03 20:06:29 +02:00
Dennis Guse
a5b44175a3
Convert metricUnits boolean into an enum.
...
Fixes #1199 .
2022-04-28 22:35:38 +02:00
Dennis Guse
db5c9479df
Implement SpeedFormatter.
2022-04-28 22:35:38 +02:00
Dennis Guse
f2ac1edc4b
Create DistanceFormatter.
...
Fixes #1197
2022-04-23 20:12:43 +02:00
Dennis Guse
3815ee6c59
Voice announcements and Interval: add sub km/miles options.
...
Fixes #1195 .
2022-04-23 14:16:00 +02:00
Dennis Guse
18b21a6a3e
Bugfix: prevent race condition in TrackPointCreator.
...
This race condition leads to a crash in TrackStatisticsUpdater as the time might appear to move backwards if the created TrackPoints are not stored in order. Might happen if multiple sensors (BLE or GPS) are used in simultaneously.
Every method affected by a race condition is now synchronized.
Problem was introduced in c4b8082efc
Fixes #1151 .
2022-04-23 12:48:19 +02:00
Peter Storch
b5acfa022d
try appCtx to persist NextCloud URI permission
...
for #1080
Also fixing a missing break in a switch statement.
2022-02-26 23:42:50 +01:00
Dennis Guse
ab5e6cbfcd
Bugfix: emojis cannot be used as filenames.
...
Fixes #1129 .
2022-02-17 18:36:06 +01:00
Arjan Schrijver
1e4e7b8c15
Allow starting the Dashboard API automatically from the StartRecording API
...
Fixes #1116 .
2022-02-16 17:06:24 +01:00
Dennis Guse
5c06c7548f
GPS is now optional: request GPS access in TrackRecordingActivity.
...
Fixes #1061 .
2022-02-14 22:17:10 +01:00
Dennis Guse
78519883c0
Refactored ExportServiceResultReceiver to make TrackRecordingService simpler.
2022-02-14 22:01:52 +01:00
Peter Storch
7c06327084
fix #1119 add new activities "swimming", "swimming open" and "workout"
2022-02-06 20:09:08 +01:00
Dennis Guse
a97bf6b883
Track name: use a short version of ISO8601.
...
Fixes #1093 .
2022-01-23 21:04:08 +01:00
Peter Storch
1099102e29
Change handling of Uri and DocumentFile handling for #1080
...
The Uris from Intent.getData() and DocumentFile.getUri() seems to be different. I think PreferencesUtils should only work with the original Uri as well as the permission handling logic.
IntentUtils.toDocumentFile can be used to convert it to a DocumentFile later on to actually work with.
Adds "No file manager found" message if no activity with OPEN_DOCUMENT_TREE is found. #1095
Removed deprecation of `startActivityForResult`.
2022-01-19 22:26:52 +01:00
Dennis Guse
619b82a23e
Package structure: moved functionality from FileUtils to MarkerUtils.
...
Part of #963 .
2022-01-16 21:39:16 +01:00
Dennis Guse
0eda1eed1d
Introduced value objects for heartrate, cadence, and power.
...
Fixes #896 .
2022-01-16 15:30:08 +01:00
Dennis Guse
7484ab03ce
Package structure: moved UI utils
...
Part of #963 .
2022-01-15 22:40:03 +01:00
Dennis Guse
7caf33fb66
Package structure: moved share functionality.
...
Part of #963 .
2022-01-15 22:28:47 +01:00
Dennis Guse
0645628d7e
Package structure: moved models and database.
...
Part of #963 .
2022-01-15 22:24:59 +01:00
Dennis Guse
cf993b73d7
Package structure: moved custom recording layout.
...
Part of #963 .
2022-01-15 22:24:59 +01:00
Dennis Guse
d49386259a
Package structure: moved support files.
...
Part of #963 .
2022-01-15 22:08:30 +01:00
Dennis Guse
2ca69df447
Package structure: moved Marker UI code.
...
Part of #963 .
2022-01-15 22:08:21 +01:00
Dennis Guse
43e1c99642
Refactoring package structure.
...
Part of #963 .
2022-01-14 23:34:05 +01:00
Dennis Guse
58b1396d64
Refactoring package structure.
...
Part of #963 .
2022-01-12 22:57:35 +01:00
Román Ginés
5cd6992c90
Proper handling of timezone data on UI. Fixes #301 .
...
Details:
- Date and time handled by OffsetDateTime Java class.
- Track default name with offset (for date local and ISO 8601 options).
- TrackListActivity: shows relative today's date (like Today, Yesterday, 22 Dec, 22 Dec 2021, etc).
- StatisticsRecordedFragment: always shows the original date and time. For example, if you record an activity at 20h then it always will show 20h regardless the zone are where you are.
- Added new tests.
2022-01-03 16:27:40 +01:00
Peter Storch
1631836327
Try to takkle down export dir issues
2022-01-02 21:19:43 +01:00
Dennis Guse
55d3502ff9
Cleanup using AndroidStudio analyze.
2021-12-30 12:16:31 +01:00
Dennis Guse
6d04659370
Timezone support: store timezone offset per Track.
...
When a recording is started the offset of the phone is used.
Timezone is exported to KML and GPX.
Fixes #301 .
2021-12-28 15:42:38 +01:00
Román Ginés
b4ce99440a
AggregatedStatisticsActivity: added filter option (by category, start and/or end date).
...
Fixes #1039 .
2021-12-24 11:50:32 +01:00
Peter Storch
b287967bc4
fix persistable directory permissions
2021-12-15 21:39:10 +01:00
Román Martínez
7f9057c519
Added profiles for custom layouts.
...
Users can add severals custom layouts and select one of them in recording fragment. The last selected layout is the one that will be use in the next recording.
Fixes #938 .
2021-12-07 18:07:25 +01:00
Dennis Guse
02cec48ae4
Merge pull request #1036 from OpenTracksApp/npe#1035
...
Fix NPE #1035
2021-12-04 22:23:27 +01:00
Dennis Guse
0d45efdf07
Cleanup.
2021-12-04 21:47:43 +01:00
Dennis Guse
b6d935cf34
Bugfix: prevent NPE as handler should not be executed anymore.
...
Fixes #1035 .
2021-12-04 21:47:43 +01:00
Peter Storch
bb7efaa87c
fix #1025 exportdir failed to create document
...
fix #254 illegal filename characters
2021-11-29 08:15:08 +01:00
Dennis Guse
35de5b6b26
Cleanup: BLE cycling speed/distance sensor parsing should be the other way around./
...
Was seemingly still working...
2021-11-15 18:53:14 +01:00
Dennis Guse
c3d55127fe
Bugfix: running sensor data total is distance is UINT_32.
2021-11-14 21:20:24 +01:00
Román Martínez
b1032f898a
New field for recording layout: clock.
...
With this change fields can be: short, wide, clock short or clock wide.
Fixes #1015 .
2021-11-14 16:27:37 +01:00
Dennis Guse
62401b2c5c
Cleanup.
2021-11-07 22:19:02 +01:00
Dennis Guse
900910e9f7
While recording: show cadence and speed from different sensor types correctly.
...
Fixes #970 .
2021-10-19 17:53:08 +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
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