android
android copied to clipboard
Document Provider improvements
Stuff to improve in document provider:
-
Copy/move folders between oC accounts: https://github.com/owncloud/android/issues/2658
-
Move files between oC accounts: https://github.com/owncloud/android/issues/2659
-
OCIS's shares in documents provider https://github.com/owncloud/android/issues/4322
issues @2658 and #2659 represent the main problems faced against copy/move operations. When big amount of files moved (mainly) between oC accounts or in the same account (account in SAF is the same as a provider), behaviour is not deterministic. After checking if there is some kind of memory restriction or a swap memory that prevents higher amount of data to be transferred, i found nothing.
(updated 20/02/2024)
Here we have the official doc about storage access framework:
https://developer.android.com/guide/topics/providers/document-provider?hl=en
in which several examples of different options can illustrate the way to do. I'd go for an epic and several small issues to implement different features of the document provider
Let's define some tasks:
- [x] Research about document provider docs and the current oC implementation and define pending scenarios that could be interesting to be added in the ownCloud app for Android.
- [ ] Create a small app in Kotlin to take the first steps with document providers.
CC @abelgardep
Edit: these taks moved to an spike issue: #2482