The MediaStore is a mess, since it doesn't track file or folder deletes, it doesn't actually store "folder" either.
There's little documentation on how to remove files:
http://developer.android.com/reference/android/content/Intent.html#ACTION_MEDIA_SCANNER_SCAN_FILEI don't understand now Google expects the developers to use it.
Should every file access insert, update or delete entries in MediaStore database directly!?
Removing entries are especially strange since it would have to be done before deleting the actual files, since afterward it's impossible to know which entries (in the MediaStore) to delete.
I'll probably have to implement a Media store remove block, which has to be called before deleting the files.
Try using Broadcast send block:
Action: "
android.intent.action.MEDIA_SCANNER_SCAN_FILE"Data URI: file://<path to deleted file or parent folder of deleted file/folder>