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

Java Development

Reply
New Contributor
Posts: 9
Registered: ‎02-23-2010
My Device: 9000; 8100
My Carrier: vodafone;itesalat

switching phone to silent profile

[ Edited ]

Hello,

 

I need to give the user the option to make his phone silent after certain event for certain amount of time. I could not find how to do it using the Java API. Is this even possible?

 

Any help is greatly appreciated

Thanks for advance

Developer
Posts: 212
Registered: ‎07-18-2008
My Device: Storm 9550

Re: switching phone to silent profile

as far as i know this is not yet possible.

 

check

net.rim.device.api.notification.NotificationsManager

 

you can detect the current volume or change the ringtone. maybe this helps

If your problem was solved, please mark answer as "Accepted solution"
If your want to thank, click the "kudo" symbol
___________
visit me: http://mobilejavadevelopment.blogspot.com/
visit the Berlin BlackBerry Developer Group: http://berlinblackberrydevelopers.blogspot.com/
New Contributor
Posts: 9
Registered: ‎02-23-2010
My Device: 9000; 8100
My Carrier: vodafone;itesalat

Re: switching phone to silent profile

Thanks dpreussler for your informative reply.

 

I thought to make a 'silent' ring tone and set it. Problems with this workaround would be, the app can not get the current ring tone, which should be returned after certain amount of time. The other problem is the method appears since JDE 4.7 which is relatively new to what I am considering to target.