I try to delete file in this way:
getContentResolver().delete(uri, null, null)
it works for videos when uri is content://media/external/video/media/1214 but doesn't work for audio files content://media/external/audio/media/1212.
I need that to delete files that I receive from camera and voice recorder because currently those files are in my app dir and on sd card.
Can somebody help me? What's wrong?