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

Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.

New Developer
Posts: 20
Registered: ‎07-17-2008
My Device: Not Specified

Issue in Notification Manager

I implemented NotificationsManager in my code as per defined in the BB Docs.

Issue is my app name is appearing on the profile list but in each profile by default volume comes silent/mute.

Any Idea?


Code snippet is here:


  private void registerNotificationObjects()
        // A source is registered to tell the system that our application will
        // be sending notification events. This will will cause a new user
        // editable configuration to be added to the Profiles application.
            new Object()
                public String toString()
                    if(_factory.getAppNameForNativeMessage()!= null){
                        return _factory.getAppNameForNativeMessage();
                    return _factory.getAppName();
            }, NotificationsConstants.CRITICAL);

        // Our NotificationsEngineListener implementation will display a dialog
        // to the user when a deferred event is triggered.
            .getNotificationID(), new NotificationsEngineListenerImpl(this));

        // Our Consequence implementation will invoked whenever an immediate
        // event occurs.
            new ConsequenceImpl(_factory.getNotificationID()));

//Start Notification


public void startNotification() {
        int trigger = NotificationsConstants.MANUAL_TRIGGER;

        // The timeout parameter is IGNORED unless the TRIGGER
        long timeout = -1;

        Event e = new Event(_factory.getNotificationID(), _eventId, 500,
                timeout, trigger);



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

Re: Issue in Notification Manager

registerConsequence is used if your application will be handling the alert.  If you just want to use the system notifications (ring, vibrate, etc...) you can follow the implementation here.


Notifications Made Easy


Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Posts: 11
Registered: ‎01-30-2012
My Device: device field.
My Carrier: device field.

Re: Issue in Notification Manager

NotificationsManager.triggerImmediateEvent(ID, 0, null, null);


Call the above specified method when notification required.