set as ringtones
The ”sounds” are in the app, and I can download them to my sdcard when I select "set as ringtones, and then find them in the folder sdcard/media/ audio/ringtones/.*My problem is that they do not "set" themselves automatically as ringtones - I have to go into the folder and select manually. Why do they not "set" themselves automatically ?
Thank you//
String path = "/sdcard/media/audio/ringtones/";
ContentValues values = new ContentValues();
values.put(MediaStore.MediaColumns.DATA, k.getAbsolutePath());
values.put(MediaStore.MediaColumns.TITLE, "abc01");
values.put(MediaStore.MediaColumns.MIME_TYPE, "sound23/ogg");
values.put(MediaStore.Audio.Media.ARTIST, "cssounds ");
values.put(MediaStore.Audio.Media.IS_RINGTONE, true);
values.put(MediaStore.Audio.Media.IS_NOTIFICATION, false);
values.put(MediaStore.Audio.Media.IS_ALARM, false);
values.put(MediaStore.Audio.Media.IS_MUSIC, false);
|