Integrate with MediaStore API for Trash and Favorites functionality
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 43/100
Research direction
Start by reading the linked Android MediaStore documentation for trash and favorites, then inspect the gallery's existing Trash and Favourites implementation to understand how those features handle media. The issue does not name source files or tests, so locate the relevant entry points in the project. Done means both features use the respective MediaStore APIs and the system recognizes trashed and favorited files.
Written by the indexing model from the issue text.
Description
Checklist
- I made sure that there are no existing issues - open or closed - to which I could contribute my information.
- I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
- I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
- I have taken the time to fill in all the required details. I understand that the request will be dismissed otherwise.
- This issue contains only one feature request.
- I have read and understood the contribution guidelines.
Feature description
Follow-up to https://github.com/FossifyOrg/Gallery/issues/176, which was closed unilaterally.
It would be great if the Gallery Trash and Favourites features were implemented with the respective MediaStore API.
Why do you want this feature?
Fossify gallery will be more integrated with modern Android when using the system API for trash and favorites, Android will know that these files are trashed/favorited, and you can manage them from the system settings app.
For example, from @jnnkB, Signal's media selector relies on using this API. It would also increase interoperability with other gallery applications.
Additional information
- https://developer.android.com/training/data-storage/shared/media#update-item
- https://developer.android.com/training/data-storage/shared/media#remove-item
- https://developer.android.com/training/data-storage/shared/media#manage-groups-files
- https://developer.android.com/reference/android/provider/MediaStore#createTrashRequest(android.content.ContentResolver,%20java.util.Collection%3Candroid.net.Uri%3E,%20boolean)
- https://developer.android.com/reference/android/provider/MediaStore#createFavoriteRequest(android.content.ContentResolver,%20java.util.Collection%3Candroid.net.Uri%3E,%20boolean)
- Dominant language
- Kotlin
- Stars
- 3.8k
- Forks
- 270
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 7
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from FossifyOrg/Gallery
-
bug needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
FossifyOrg/Gallery#1235 ·
Maintainers usually reply within 1 day
-
bug needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
FossifyOrg/Gallery#1215 · 1 comment ·
Maintainers usually reply within 1 day
-
"Fix Date Taken value" ignores OffsetTimeOriginalPossibly taken @PedroFlores199 claimed this 5 days ago. Openbug needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
FossifyOrg/Gallery#1213 · 3 comments ·
Maintainers usually reply within 1 day
-
App crashes if AccessMediaLocation permission is revokedMay be free again A pull request for this issue was closed without being merged. Openbug needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
FossifyOrg/Gallery#1196 · 12 comments ·
Maintainers usually reply within 1 day
-
Renaming a locked folder silently removes its lockMay be free again A pull request for this issue was closed without being merged. Openbug needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
FossifyOrg/Gallery#1195 ·
Maintainers usually reply within 1 day
All issues in FossifyOrg/Gallery
Similar issues
-
bug 🐞
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
grote/Transportr#1029 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
TeamAmaze/AmazeFileManager#4800 ·
Maintainers usually reply within 1 day
-
bug good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
getsotto/sotto-authenticator#139 ·
Maintainers usually reply within 1 day
-
enhancement module:webview p3
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
NucleusFramework/Nucleus#1004 ·
Maintainers usually reply within 1 day
-
docs good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
danielecanci/2ndCare#4 ·