Who can tell me why the delete function of ContentResolver can delete the video file on sd card?

by Henry » Fri, 24 Jul 2009 06:38:15 GMT

Sponsored Links
 Hi,when I use ContentResolver to delete one entry of video from the
media database(URI is MediaStore.Video.Media.EXTERNAL_CONTENT_URI),the
real video file will be deleted from the sdcard.But when I use
ContentResolver to delete one entry of mp3from the media database(URI
is MediaStore.Audio.Media.EXTERNAL_CONTENT_URI),the real mp3 file will
not be deleted.Who can tell me the reason?Thanks.

Other Threads

1. help !!!! the problem for can't start the emulator

I have the same problem, but deleting that directory did not do any good.

I have the SDK and my Eclipse in my home folder, could there be any problems
with ownerships of these files?

thx in advance



2. How to test the earpiece

for the OEM, on the product linee need to test the earpiece whether
it works well.
so I want to write a application which will play sounds through the
i want to know how can i play a sound through the earpiece?
or if there is a better way to test the earpiece?


3. Saving animations in gif format

4. does the setHorizontalScrollBarEnabled work

5. can we transcode recorded AMR audio in mp3/wav within my code?

6. How to save and restore database

7. Ubuntu Compile/Run Error - Netbeans