Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

New Contributor
Posts: 3
Registered: ‎02-14-2013
My Device: Dev Alpha
My Carrier: none

change sound-profile / mute ringtones

Hello community,

is there a way to change programmatically the soundprofile ("settings" > "notifications" > "mode"-dropdown" of the device?

I've found an app in the BB-World called "Profile Changer for Blackberry 10" which offers this function, but i need it in my app.

Alternatively it would help if i could mute the ringtones/systemsounds. But if i mute the speakersound with audio_manager_set_output_mute()  and someone calls the device it becomes unmuted. Also, the function audio_manager_set_voice_service_status() returns the error-code -13 (permission denied).

thanks for your help Smiley Happy