ContentResolver.insert Returns Null
I sometimes have a problem when setting sounds as ringtones / notifications from inside an activity: ContentValues values = new ContentValues(); values.put(MediaStore.MediaColumns.
Solution 1:
Content providers don't support remote exceptions yet. I would look in logcat when you get the null Uri being returned. I suspect the media provider will be throwing some sort of exception.
Solution 2:
23 ,24 should be the volume up and down for the media. uri should be the same.
Post a Comment for "ContentResolver.insert Returns Null"