-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggestion #37
Comments
Unfortunately Android-s StorageAccessFramework api (SAF) does not allow me to replace the existing file content. Replacing File content would require:
This is much too complicated and not propper working if one of the operations fails. This is one of the reasons why i stoped developing my gallery app https://github.com/k3b/APhotoManager/ |
Greetings,
It certainly sounds like a hassle and see why you opted not to do it!
I did find these two pages if it helps:
https://developer.android.com/training/data-storage
https://developer.android.com/training/data-storage#filesExternal
Thankyou again for the great app, I will be patient with using it as needed
with a computer is not about :-)
With benevolent wishes
…On Wed, Aug 28, 2024 at 6:35 PM k3b ***@***.***> wrote:
Would be great to have option to make save button save over original, to
increase speed of use.
Unfortunately Android-s StorageAccessFramework api (SAF) does not allow me
to replace the existing file content.
Creating a new foto-file is easy and works as expected.
Replacing File content would require:
- Create a new-File.
- If successfull Delete the original file
- and rename new-File to old-filename.
- update the media-Database.
This is much too complicated and not propper working if one of the
operations fails. This is one of the reasons why i stoped developing my
gallery app https://github.com/k3b/APhotoManager/
—
Reply to this email directly, view it on GitHub
<#37 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BKTKRZASSHU4VYB5WRIWJSDZTWYYXAVCNFSM6AAAAABMWBRF26VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJVGA3TGNRWGU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Would be great to have option to make save button save over original, to increase speed of use.
Share to application otherwise for save out.
Great little program.
The text was updated successfully, but these errors were encountered: