Android: play default notification sound

When aplication wants to notify user with sound, the best way to do it is to play notification sound that is set by the user on his device. To do it, first you need to get Uri to that audio file from RingtoneManager. After that create a Ringtone object from that Uri and play it: … Continue reading Android: play default notification sound