Simple-Gallery
Simple-Gallery copied to clipboard
Support built-in trash feature of Android 11 and above
Simple Gallery has a built-in Recycle Bin feature, but Android has native support for trashing items since Android 11 through the Media Store API. In practice, this tends to work by the file being renamed to .trashed-[datetime code]-[original file name], setting the IS_TRASHED flag to true in the Media Store, and keeping the file in its original folder.
Please consider supporting the native trash feature.
Here are some references:
- XDA-Developers: Android 11 has a hidden Recycle Bin for trashed photos and videos
- Android Developer Documentation: MediaStore.QUERY_ARG_MATCH_TRASHED
- Android Developer Documentation: MediaStore.createTrashRequest
- Android Developer Documentation: MediaColumns.IS_TRASHED
- YouTube: Storage access with Android 11
was checking it already, but you have to confirm every file that gets deleted and it has terrible UX
I agree with you @tibbi It's UX is so bad that accept deny popup is ultra annoying.
Does this opinion rule out support for even viewing the native trash, or should viewing the trash and actually utilizing the trash for deletions be considered separate requests?
@t-m-w Not sure how will it be, but you can manage trash items from google files app :-)