soundUrl property doesn't seem to work on NotificationDialog

Have it set up like that,

NotificationDialog {
id: alertdialog
soundUrl: "asset:///sounds/notificationBlankSound.mp3"

}

The path is correct, but rather than play this sound empty file continues to play the sound Notification OS, I don't want to because the App plays an alarm sound.

Any suggestions?

10.2 the API level, 10.3.1 device

It says this:

When the notification setting allows to use sounds to play, this property overrides the preference of the user for which sound to play. You must specify the soundUrl as a file URI to a public or a shared resource on the device. You can set a local asset to be a public good in the active tab of the bar - descriptor.xml of your project file.

But, don't know what that means, that I must have a file in the file system of the user, I can't use a file packaged with the application itself?

You must use a type file:/// URL in the soundUrl, not active:.  Also, make sure that you configure the audio file to be public.  You can see a screenshot of how to do it in this post.

Tags: BlackBerry Developers

Similar Questions

Maybe you are looking for

  • Why does my clock on my macbook run faster?

    Can someone tell me why the clock of my computer (Macbook Pro w / retina) is gradually being run faster? It used to be exactly in line with my iphone, but maybe like 5-6 months ago, I noticed that he was in a few minutes faster and this time it has s

  • 6 days years Samsung Mega 6.3 - Skype will not complete the connection process

    I downloaded Skype on my Samsung Mega 6.3 new since I use Skype at work for messaging and want to be able to use it on my new phone like I did on my previous (iphone 4) when you work remotely. After entering my microsoft account information, it tries

  • Volume muted.

    Hello Suddenly my mobile volume is muted and does not work, I tried to restart and check but of no use. Parts for good media files but when I tried to increase the volume without answer.

  • Only two home screens.

    Anyone know if you can add several screens at home in addition to using a different pitcher? The Turbo has only two.

  • Acrobat 8 pro Compatibilidade com

    Quando tento usar o acrobat para digitalizar recebo a mensagem as o programa funcionar parou.