I try to display (and change) the current default ringtone in an app.
Both Settings.System.getUriFor(Settings.System.RINGTONE) and
RingtoneManager.getDefaultUri(RingtoneManager.TYPE_RINGTONE) will
return "content://settings/system/ringtone" (at least on my device).
I tried to get the title with
String[] proj = { MediaStore.Audio.Media.TITLE };
Cursor cursor = managedQuery(ringtoneUri, proj, null, null, null);
but don't get a result (cursor == null).
Is there any way to get a proper media URI (content://media/external/
audio/media/...) or to get the title of content://settings/system/ringtone?-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

