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 Developer
Posts: 86
Registered: ‎11-19-2008
My Device: Not Specified

Re: Unable to set audio volume on BlackBerry Pearl 8130

Good to know. However, I tried to follow your advice with the following code, and nothing changes...

 

 

while (Alert.getVolume() > 0) Alert.setVolume(Alert.getVolume() - 10);

 

 

 

BlackBerry Development Advisor
Posts: 15,700
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Unable to set audio volume on BlackBerry Pearl 8130

When you say nothing happens, what actions are you taking at the time?  What type of audio file are you playing?

 

Note that other applications may be adjusting the global volume outside of your application.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
New Developer
Posts: 86
Registered: ‎11-19-2008
My Device: Not Specified

Re: Unable to set audio volume on BlackBerry Pearl 8130

The phone is ringing when I try that. The goal is to make it ring as lowe as possible, since I cannot change the phone profile. I run the code from a separate thread, and even tried to run it 2 seconds after it starts ringing (so I'm sure it's already ringing), but I cannot chamge it.

 

It must be possibile somehow since, for example, Black & White List Call Filter does just that...

Any suggestion is appreciated!

New Developer
Posts: 86
Registered: ‎11-19-2008
My Device: Not Specified

Re: Unable to set audio volume on BlackBerry Pearl 8130

any news about this?