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. Gesture detection using touchscreen and accelerometer

Hi Guys,
I want to use gestures for navigation in my application. The classic would
be to draw clockwise / counter clockwise on the screen for zooming. Does
this functionality exist as is? Any third party libraries? Any reason why I
shouldn't attempt to write one if it doesn't exist?

I had a decent search and all I could find was this;

2. How can i access one activity from another in the same package?

What do you mean by "check the condition"?
If you're in activity #4 in your application, then activity #2 will
likely be paused.





--~--~---------~--~----~------------~-------~--~----~

3. How to read dumpsys alarm?

4. How to use Media Player in a library class?

5. dalvik profiling

6. How can I frequently get the onLocationChanged()?

7. How to use Media Player in a library class?