Use this
ringTone = RingtoneManager.getRingtone(ctxt, uriRingtone);
Instead of this
ringTone = RingtoneManager.getRingtone(getactivityContext(), uriRingtone);
3
solved why do i have a GetActivity context error?
Use this
ringTone = RingtoneManager.getRingtone(ctxt, uriRingtone);
Instead of this
ringTone = RingtoneManager.getRingtone(getactivityContext(), uriRingtone);
3
solved why do i have a GetActivity context error?