Skip to content Skip to sidebar Skip to footer

Trying To Set Default Ringtone Get A Securityexception

I'm trying to use this: RingtoneManager.setActualDefaultRingtoneUri(this, RingtoneManager.TYPE_RINGTONE, newUri); ... to set the default ringtone. A exception goes off, with type

Solution 1:

"android.permission.WRITE_SETTINGS" is what you need to have.


Post a Comment for "Trying To Set Default Ringtone Get A Securityexception"