07-31-2009 05:34 AM
09-25-2009 02:53 AM
this thread definitely gave out an interesting approach.... but has anyone succeeded ?
I still have to grasp the whole concept to truely understand why it fails (I didn't play anything in onNotification() though) and what it, in fact, does.
Thanks for the tip.
01-31-2010 07:32 PM
I'm having the same problem as described by raydac. I can start my own player in the startNotification method with a custom ringtone but the ringtone as set in the sound profile mixes with mine.
Has anyone found a way to stop the default ringtone?
02-01-2010 03:59 AM
I mentioned it in above with code too See the entire code.
02-01-2010 09:50 PM
Yes, I set the registration level to NotificationsConstants.FORCED. I think my problem is somewhere else so I took a step back. I ran the demo as delivered with the JDE component pack for eclipse. My environment is:
Eclipse SDK Version: 3.4.2
BlackBerry JDE Plug-in for Eclipse Version: 188.8.131.52
BlackBerry JDE Component Pack Version: 184.108.40.206
Simulator: 9700 v220.127.116.11
When the notification event is triggered using triggerImmediateEvent the startNotification method runs and the tone is played but then an IllegalArgumentException is thrown. Using the debugger with the simulator I see the following trace:
ProfileExceptionsImpl.getException(int, long, boolean) line: 739
AlertConsequence.processNotification(long, Object, boolean) line: 331
AlertConsequence$ProcessNotificationThread.run() line: 628
Is this only seen with OS 5.0? Can you offer any advice on what to do here?