Welcome!

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

Reply
New Contributor
ajalkane
Posts: 4
Registered: ‎01-17-2013
My Device: Dev Alpha B

How to change Ringing volume/mute and/or aeroplane mode?

I want to programmatically (from C++) change the ringing volume of the device. If I have understood the profiles correctly, the device seems to have "mute", "silent", and ringing with separate volume control. How can I control these, I can't quite locate the API.

 

I'd also like to change the aeroplane mode if possible.

 

Use case: automatically setting the device to silent during night or during scheduled meetings. Automating aeuroplane mode can be also useful to preserve battery during night if you're not interested in calls.

 

New Contributor
adamlum
Posts: 7
Registered: ‎03-25-2013
My Device: Developer; currently using v10 simulator

Re: How to change Ringing volume/mute and/or aeroplane mode?

Hello,

 

I am also interested if it is possible to change ringing volume programmatically (C++). I actually want to be able to "mute" and "unmute" all device sounds based on some factors. Is it possible? if so, how to achieve this?

 

Thank you very much.