-2

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?

TejjD
  • 2,571
  • 1
  • 17
  • 37
  • is it helpful http://stackoverflow.com/questions/29256684/android-ringtone-set-programmatically – Ranjit Dec 30 '15 at 06:00

1 Answers1

0

You can refer to this answer.

Replace RingtoneManager.TYPE_NOTIFICATION with RingtoneManager.TYPE_RINGTONE.

Community
  • 1
  • 1
TejjD
  • 2,571
  • 1
  • 17
  • 37