I have found lots of examples how to get default ringtone. Something like that:
Uri alert = RingtoneManager.getDefaultUri(RingtoneManager.TYPE_RINGTONE);
Ringtone ringtone = RingtoneManager.getRingtone(getApplicationContext(), alert);
ringtone.setStreamType(AudioManager.STREAM_RING);
ringtone.play();
But I want to get the actual current ringtone, that was set by the user.
getActivity()
? – Koziol