04-22-2009 06:09 AM - edited 04-22-2009 07:47 AM
When we run NotificationsDemo sample application in BlackBerry 9530 Simulator, the application is added in the profile under Other as "Notifications Demo". Using which the user can set his/her profile setting for this application.
But, its not considered in the NotificationsDemo sample application anywhere and its not reflected while we are calling NotificationsManager.triggerImmediateEvent method too. Its only executed the code placed inside startNotification method in ConsequenceImpl class. How can we trigger an alert with user specified profile setting?
I have referred the following post:
http://supportforums.blackberry.com/rim/board/mess
Solved! Go to Solution.
04-24-2009 03:00 AM
I have implemented ConsequenceImpl, a set of activities inside startNotification method, which was actually conflicting with the custom "Notifications Demo" profile settings.
I had comment out the NotificationsManager.registerConsequence method and everything works as expected.
Thanks