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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Developer
Blanc
Posts: 638
Registered: ‎07-02-2009

Programatically set the device into silence mode

Hi All,

 

How can I detect sound profile of BB device.

 

Is it possible to change the sound profile(normal, loud, medium, vibrate, silent,  etc) programatically ?

 

Thanks and Regards,
PraveenGoparaju.
Please use plain text.
Regular Contributor
lakhmapurkarvishal
Posts: 51
Registered: ‎01-13-2011
My Carrier: vodaphone

Re: Programatically set the device into silence mode

Hello ,

 May b i wrong but you can use net.rim.device.api.system.Alert.setVolume(volume);

To addust device satae.


 

Vishal Lakhmapurkar
Please use plain text.
Developer
Blanc
Posts: 638
Registered: ‎07-02-2009

Re: Programatically set the device into silence mode

let me check...
Thanks and Regards,
PraveenGoparaju.
Please use plain text.
New Developer
estebanuri
Posts: 28
Registered: ‎11-04-2009

Re: Programatically set the device into silence mode

Any new about this?

Perhaps using a new API JDE?

I tried to change the world, but I couldn't find the source code
Please use plain text.
Developer
simon_hain
Posts: 14,051
Registered: ‎07-29-2008
My Carrier: O2 Germany

Re: Programatically set the device into silence mode

7.1 has the profiles api that allow you to control/modify profiles.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.