Peter Storch
f83c23e450
show postworkout error messages, #1669
2023-08-26 19:40:27 +02:00
Dennis Guse
1ed0a11c2f
Move ExportServiceResultReceiver.java into ExportService.
2023-08-06 11:15:48 +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
819f454bd8
Refactored TrackFileFormat interface.
2023-04-12 22:41:56 +02:00
Dennis Guse
2b530a1c53
Cleanup: unused imports.
2022-08-02 18:44:15 +02:00
Dennis Guse
cecc586868
Bugfix: export was not checking properly if file exists.
...
Fixes #1283 .
2022-06-19 17:24:18 +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
78519883c0
Refactored ExportServiceResultReceiver to make TrackRecordingService simpler.
2022-02-14 22:01:52 +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
0645628d7e
Package structure: moved models and database.
...
Part of #963 .
2022-01-15 22:24:59 +01:00
Peter Storch
1631836327
Try to takkle down export dir issues
2022-01-02 21:19: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
b6b4c5aa39
Cleanup: move PreferencesUtils into settings package.
...
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
bd5bf530f0
TrackRecordingService: extracted storing data into TrackRecordingManager.
...
Part of #822 .
2021-07-22 17:18:31 +02: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
bd48944ad5
Track export name: first UUID, name and extension (<First 32bits UUID>_<track's name>.<extension>). Fixes #512 .
2021-03-14 18:42:27 +01:00
Dennis Guse
fa12086951
GPX: only export TrackPoints with lat/lng. ( #591 )
...
GPX: only export TrackPoints with lat/lng.
Thus, segmentation (manual/automatic) cannot be restored on import.
This also affects the TrackStatistics.
2021-02-09 19:00:28 +01:00
Peter Storch
3a84520819
removed duplicate export
2020-11-20 21:56:39 +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
dd490f528e
Cursors must be closed.
2020-11-08 00:37:01 +01:00
Román Martínez
acc2627bde
Activity with progress and summary for import all option. Fixes #471 .
...
ErrorListDialog shared by ExportActivity and ImportActivity.
2020-10-31 20:39:37 +01:00
Román
70c1379778
Export All: ask to the user when conflicts (track already exported in the selected directory) and show a summary. Fixes #451 .
2020-10-20 12:07:58 +02:00
Dennis Guse
3a8f3e46c7
Refactor post-workout export.
2020-10-16 12:23:39 +02:00