I am developing VOIP calling app in android.
I want the app ringtone to be the same as device default ringtone, when I receive a call from another user on this app. Can someone please tell me how I can achieve this?
I am developing VOIP calling app in android.
I want the app ringtone to be the same as device default ringtone, when I receive a call from another user on this app. Can someone please tell me how I can achieve this?
You can refer to this answer.
Replace RingtoneManager.TYPE_NOTIFICATION
with RingtoneManager.TYPE_RINGTONE
.