03-05-2009 10:36 AM
Hi
I don't fully understand the idea of the net.rim.device.api.notification.Consequence interface. If you perform a NotificationsManager.registerSource then the device will create an entry for the application in the list of configurable applications for each Profile. Let's say then a person performs a NotificationsManager.registerConsequence using a Class implementing the Consequence interface. When an event is triggered by NotificationsManager.triggerImmediateEvent, the system then calls the startNotification method in the class implementing the Consequence interface. Inside the startNotification method we can then programmatically cause the LED to blink, phone to vibrate, etc.
But isn't this confusing for the user? The user has just configured their settings for the application in the Profiles configurations (i.e. blink twice, vibrate once, etc.) and now the application simply chooses to do whatever it likes in its startNotification method. Am I understanding this correctly? Thanks.
03-05-2009 11:09 AM
03-05-2009 11:42 AM
You trigger the BB Profile (as set by the user) when you call NotificationsManager.triggerImmediateEvent()
03-06-2009 04:38 AM
03-08-2009 10:37 AM
03-09-2009 05:29 AM
05-15-2012 01:03 PM
Hi chaimkut,
I used the NotificationsManager.hideSource() Api but it doesn't work. I am working on BB os 5.0.
Is there a other way to remove the app entry from the Profile-configurable list of applications?
Regards,
Gautam