How To Clear Mediastore Before Setting Ringtone
When I set a ringtone from my app works once, but when running the code again, it tries to create a duplicate entry in the media store, which creates problems. Without creating sep
Solution 1:
It looks like the error is this line:
getContentResolver().delete(pURI, MediaStore.MediaColumns.DATA + "\"" + outputFile.getAbsolutePath() + "=\"", null);
Post a Comment for "How To Clear Mediastore Before Setting Ringtone"