mediaStore items can no longer be deleted after reinstall
Question relevant to Android platforms API 30 to 35, app is targeting api 33
My android application’s job is to synchronize users music library on a computer to android. That includes addition of media such as music, videos to android as well as deletion.
Addition and deletion works when app is installed, however on reinstall, app can add additional files during sync but if items need to be removed because user removed media from its library in computer it is failing. MediaItems can not be removed in android. There are several dozens of files that need adding or removing, sometimes 100s. The functions of addition and removal are below.
mediaStore items can no longer be deleted after reinstall
Question relevant to Android platforms API 30 to 35, app is targeting api 33
My android application’s job is to synchronize users music library on a computer to android. That includes addition of media such as music, videos to android as well as deletion.
Addition and deletion works when app is installed, however on reinstall, app can add additional files during sync but if items need to be removed because user removed media from its library in computer it is failing. MediaItems can not be removed in android. There are several dozens of files that need adding or removing, sometimes 100s. The functions of addition and removal are below.
mediaStore items can no longer be deleted after reinstall
Question relevant to Android platforms API 30 to 35, app is targeting api 33
My android application’s job is to synchronize users music library on a computer to android. That includes addition of media such as music, videos to android as well as deletion.
Addition and deletion works when app is installed, however on reinstall, app can add additional files during sync but if items need to be removed because user removed media from its library in computer it is failing. MediaItems can not be removed in android. There are several dozens of files that need adding or removing, sometimes 100s. The functions of addition and removal are below.
mediaStore items can no longer be deleted after reinstall
Question relevant to Android platforms API 30 to 35, app is targeting api 33
My android application’s job is to synchronize users music library on a computer to android. That includes addition of media such as music, videos to android as well as deletion.
Addition and deletion works when app is installed, however on reinstall, app can add additional files during sync but if items need to be removed because user removed media from its library in computer it is failing. MediaItems can not be removed in android. There are several dozens of files that need adding or removing, sometimes 100s. The functions of addition and removal are below.
How to access hidden media with MediaStore?
I’m developing a custom gallery app using MediaStore
. I want to access all images and videos on device storage, including files which placed in hidden .folders
.
My problem is that I don’t understand how to get hidden files via MediaStore.
How to get all images infomation from trash bin Using MediaStore in Android
I’m developing an Android application and need to retrieve images that have been deleted and moved to the trash bin. I’ve attempted to use MediaStore.Images.Media.IS_TRASHED as a projection, but I haven’t been able to retrieve any deleted images.