10-06-2010 06:23 PM
Are there any available API's that give us access to sms and phone ringer notifications? Looking to silence them for a texting and driving app.
If not does anyone know if there are any API's not available to the gen public? OR how we would go about applying for access. This is good app and this is the kicker for us.
thanks
10-06-2010 09:01 PM
hi there,
Welcome to the blackberry forum and community.
You cant directly silence the notification but check out the NotificationsEngineListener.
Hope this helps. let me know if you still struggle.
10-07-2010 11:29 AM
I will take a look at that. I also know that there are apps that are given c++ implementation. Any ideas how to apply for that?
The problem is that the app I am developing has to silence phone and sms notifications in several different modes so trying to get this working.
any other input you have would be very valuable to me.
thanks
10-07-2010 09:09 PM
Contrary to many newcomers to BlackBerry, welcome by the way, there is no C/C++ implementation available for BlackBerry.
The closest there is to it was the recently announced QNX OS. Even then no one knows what the API is like for the BlackBerry version so for all we know this isn't possible with that either.
10-13-2010 09:15 AM
Not sure how well this will work, but try this:
1. Register your own Consequence. This will be invoked whenever an immediate event occurs.
2. Find out the source ID of the notification you'd like to silence. See step 1.
2. When the event is fired, cancel the event (NotificationManager.cancelImmediateEvent).