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
Visitor
Posts: 1
Registered: ‎07-21-2010
My Device: Not Specified

Need to mute and stop vibration on Incoming call while my application running

Hi,

 

I need to mute as well as stop vibration on Incoming call.

The following codes is in my Application Class Constructor - “callIncoming”" event of "PhoneListener"

 

--------------
public void callIncoming(int callId)

          {

            Alert.stopVibrate();

            Alert.mute(true);

            Audio.setVolume(0);

            Alert.setVolume(0);

            Alert.stopAudio();

            ------------
            ------------

          }

------------


But this cannot stop vibration on Incoming Call.

Have any solution for this?

Developer
Posts: 4,764
Registered: ‎07-21-2008
My Device: Not Specified

Re: Need to mute and stop vibration on Incoming call while my application running

The notification details are controlled by the Blackberry Profiles, under user control. There is no Java API to control these notifications.