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
Highlighted
Developer
Posts: 1,055
Registered: ‎01-25-2009
My Device: BlackBerry Bold 9650/BlackBerry Torch 9800

Prevent audio notification from playing when new e-mail is received?

[ Edited ]

I have a background listener that is listening for new e-mails that are coming in. If the e-mail matches a certain criteria, it is processed then deleted.

 

In the simulator (Storm 4.7.0.148), it deletes fine and the notification dissappears. However, the notification sound still plays. How do I stop the notification from playing?

Jerome Carty - Follow jcarty on Twitter@jcarty | #webworks-dev / #BlackberryDev on irc.freenode.net | My Apps
Click "Accept as Solution" if post solved your original issue.. Give like/thumbs up if you feel post is helpful
BlackBerry Development Advisor
Posts: 15,753
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Prevent audio notification from playing when new e-mail is received?

This is not supported.  There is no API to prevent the notification from firing.

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