Reputation: 136
I use Storage Access Framework (SAF) on Android with OneDrive. Reading a file works fine, but when i try to save file, it doesn't work (i get a "Bad File Number" issue)
Using SAF with GoogleDrive in the same way works perfectly.
Is this because OneDrive implementation of SAF doesn't support writing files, or something like that?
Thanks a lot
Upvotes: 2
Views: 1256
Reputation: 1875
OneDrive for Android only supports read operations via the Storage Access Framework in Android.
If you would like to save files to OneDrive, there is a picker & saver interface avaliable that is avaliable. See OneDrive-Picker-Android on github for more information.
Upvotes: 1