I want to get the ringtones of a phone, but see only the english (non-localized version).
My theory, was using a ContextWrapper, and set that context locale to en_US
and pass that new locale to RingtoneManager.getRingtone()
(code based from Set Locale programmatically ):
ContextWrapper cw = new ContextWrapper(context);
Context cc = setContextLocale(cw, "en_US"); // This method was copied from the StackOverflow question above ^^
Ringtone defaultRingtone = RingtoneManager.getRingtone(cc, Settings.System.DEFAULT_RINGTONE_URI);
String sss = defaultRingtone.getTitle(cc);
So, yes, this does not work as expected. Any ideas?