Generation safely notification that emits a sound custom installed

My application needs to read a custom (specific sound which is subject of the application) when it alarms.  Since there is no stripped of notification settings control which would allow me to install the mp3 and set it as the default notification, I resorted to the construction of a custom notification and the consequence, based on the example of Notifications.  However, when the notification is issued from my background thread, there is no way to detect the keys (since this cannot be done in the background), in order to stop playing the sound.

My questions are the following:

1. What is the best way to approach a sound packaging custom notification so that the user has normal BB experience, including the silent power all sounds press a key?

2. in case I do is on the right track, can you think of a way to get a notification that a key has been pressed to cancel playback of the sound?

Thanks in advance for any thoughts!

No, it is not possible to capture the keys while a BlackBerry is locked.

Tags: BlackBerry Developers

Similar Questions

Maybe you are looking for

  • pirate bay page and links does not not on firefox

    First of all, the site in question (thepiratebay.se) normally works on IE without problem.On Firefox, however, try to click on 'SOMETHING' on the Web results page sites in no effect. This includes the text/search box where the text indicator does not

  • Stuck record button

    OK, it happened once more. On a shoot reality and the record button will not work... nothing. And I can't even disable the camea. The only way is to pull the battery. But then when I turned on the camera again media "recreate" lights up. Second time

  • aftre updates Media Player does not play

    Wil not play any CD, dvd, movies

  • problems with the removal of text

    This does not happen every time and it's worse when my battery is less than 40%, but if I typed something and you want to remove, as the cursor moves back the phone reinsert words. So I'll be deleting the word "delivered", and I have to remove the ba

  • Relocations in generic ELF (EM: 3) configuration of Device/Simulator

    Hello I have the problem with the same project for simulator(x86) and device (ARM). Project was created for the Simulator and now im trying to build for the device. I changed my CPU TARGET on the configuration of the device but now C:\ProgramData\bbn