trying to delete all files, which are newer than specified time on versions Q+
val result = resolver.delete(
MediaStore.Images.Media.EXTERNAL_CONTENT_URI, "datetaken > ?",
arrayOf(timestamp.toString())
)
however they are not deleted, result shows always 0.
from How to delete all files by date?
No comments:
Post a Comment