01-14-2009 06:56 PM
Solved! Go to Solution.
01-14-2009 10:24 PM
thanks so much for your reply, RexDoug. i could already see the notifications that i want added.
another problem of mine is that how do i get these settings so that i can use them for my notifications?
currently,i am using the Consequence class wherein i set my own tune, led settings and vibrate. I want it to use the settings defined by the user through the notification that i added in the profiles. I have downloaded a sample code from the BlackBerry Developer Guide but i just can't seem to understand it.
i am also working on using the NotificationsEngineListener which is a disaster right now because i can't get it to work. Do you also have any ideas on this?
01-14-2009 11:31 PM
You have no "programmatic" control over the profile settings. Only the user can change these settings.
There is a "NotificationsDemo" application in the JDE samples. I suggest you start with that, then build your own features on top of it.
01-15-2009 12:19 AM
What i mean is, i want to get the settings that the user has set so that i can play the tone that he has chosen, or if he wants vibrate or led flashing for the notifications. i don't want to change the settings. is this possible?
i already tried the NotificationsDemo and it was very helpful. thanks.
01-15-2009 03:16 AM
01-15-2009 08:51 AM
OK - I understand your question, I think.
You fire your Notification, and the BlackBerry system plays the tones and vibrates the phone, whatever the user set in the profile. You don't do this within your program.
So, you register your Notification, then you fire NotificationsManager.triggerImmediateEvent() when you want the notification to occur.
The BlackBerry will fire the sounds, whatever, based on the current settings for the current active profile.