Dennis Guse
8c8a7d9496
Cleanup: use stream.toList().
2023-10-08 13:48:07 +02:00
Peter Storch
f83c23e450
show postworkout error messages, #1669
2023-08-26 19:40:27 +02:00
Dennis Guse
326da494eb
Java Record for Track.Id and TrackPoint.Id.
...
Part of #1526 .
2023-08-25 23:52:10 +02:00
Dennis Guse
9b6df4bf99
Bugfix: request ACCESS_BACKGROUND_LOCATION fails; removing it for now.
...
Introduced in 3910837d1a
Part of #1653 .
2023-08-22 07:15:08 +02:00
Dennis Guse
c263af7033
Bugfix: ACCESS_BACKGROUND_LOCATION is only available/required with Android 10+.
...
Introduced in 3910837d1a
Fixes #1662 .
2023-08-10 18:02:54 +02:00
v_schaefer
3910837d1a
Fix: GPS Access denied when phone in standby
...
Added ACCESS_BACKGROUND_LOCATION permission to access GPS while phone is in standby. This is necessary for situations where the PublicAPI is triggered to start a record from an external device like a smartwatch.
2023-08-08 12:51:11 +02:00
Dennis Guse
1ed0a11c2f
Move ExportServiceResultReceiver.java into ExportService.
2023-08-06 11:15:48 +02:00
Dennis Guse
425ea0f216
Cleanup: use ActivityType instead of passing it's id around as String.
...
Part of #1608 .
2023-06-27 15:53:54 +02:00
Dennis Guse
779681088c
Refactor Track.icon is now Track.activityTypeId.
...
Part of #1608 .
2023-06-27 15:53:54 +02:00
Dennis Guse
f824b31891
Cleanup: inline TrackIconUtils methods.
...
Part of #1608 .
2023-06-27 15:53:54 +02:00
Dennis Guse
d316a63fca
Cleanup: ActivityType lookup.
...
Part of #1608 .
2023-06-27 15:53:54 +02:00
Dennis Guse
1a5acc8f2d
Cleanup using AndroidStudio analyze.
2023-06-21 23:15:04 +02:00
Dennis Guse
dbd64a8075
Cleanup: rename category to activityType.
2023-06-15 18:45:11 +02:00
Dennis Guse
d7022a07a2
Cleanup: use Java17' Records.
...
Fixes #1526 .
2023-06-08 07:06:22 +02:00
Dennis Guse
ae37ec9c33
Bugfix: set file suffix for "one file"-exports explicitly.
...
KML/KMZ was added by AndroidOS, but not GPX.
Part of #1318 .
2023-05-28 21:30:09 +02:00
Dennis Guse
2f2679c775
Export: implement export to one file.
...
Fixes #1318
2023-05-28 21:30:09 +02:00
Dennis Guse
442e23b106
Cleanup: EGM2008CorrectionManager returns Altitude.
2023-05-27 08:07:33 +02:00
Dennis Guse
96fb65b6b0
Bugfix: hidden DataFields should be hidden.
...
Introduced in d70e7b8788
2023-04-26 07:19:11 +02:00
Dennis Guse
efddb31391
Cleanup: use Java17 switch statements.
...
AndroidStudio code cleanup.
2023-04-13 15:10:17 +02:00
Dennis Guse
819f454bd8
Refactored TrackFileFormat interface.
2023-04-12 22:41:56 +02:00
Dennis Guse
8cc4fd1d4f
Bugfix: not all activityTypes were shown in dropdownlist.
2023-01-29 16:50:04 +01:00
Dennis Guse
c241a35861
Refactor: introduced ActivityType.
2023-01-29 16:50:04 +01:00
Dennis Guse
bebee59eb2
Bug: Track icon wrongly shown in dialog.
...
Fixes #1453 .
2023-01-25 16:37:35 +01:00
Dennis Guse
4ea70b15e7
Renamed Layout to RecordingLayout.
...
Part of #1118 .
2022-11-22 07:06:56 +01:00
Dennis Guse
d3cf2957cc
StatisticsCustomLayoutEditAdapter: use StatisticsViewHolder (with demo data).
...
Part of #1118 .
2022-11-22 07:06:47 +01:00
Dennis Guse
d70e7b8788
StatisticsRecordingFragment: render Views manually (instead of RecyclerView).
...
Part of #1118 .
2022-11-22 07:06:45 +01:00
Dennis Guse
5a4919efd2
PublicAPI: support setting the icon.
...
Fixes #1282 .
2022-08-28 15:17:42 +02:00
Dennis Guse
73e59cbba2
UI: show timezone if different than local.
...
Fixes #1296 .
2022-08-22 18:43:53 +02:00
Dennis Guse
78dad95ef6
Altitude: show always in m/ft.
...
Fixes #1319 .
2022-08-21 22:02:49 +02:00
Dennis Guse
0ada9a2463
Android13: request NOTIFICATION_POST permission.
...
Fixes #1353 .
Part of #1210 .
2022-08-18 08:07:37 +02:00
Dennis Guse
7009ede095
EGM2008 offset lookup for negative longitudes was wrong.
2022-08-03 17:30:31 +02:00
Dennis Guse
2b530a1c53
Cleanup: unused imports.
2022-08-02 18:44:15 +02:00
Dennis Guse
78aa5d51c6
Intervals: if gain/loss is not available show "-" instead of null.
...
Fixes #1338 .
2022-07-26 22:30:08 +02:00
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