locked
[U8.1]Windows store app custom sound RRS feed

  • Question

  •  toastXmlString = "<toast>"
                               + "<visual version='1'>"
                               + "<binding template='ToastText02'>"
                               + "<text id='1'>Sound:</text>"
                               + "<text id='2'>" + audioSrc + "</text>"
                               + "</binding>"
                               + "</visual>"
                                 + "<audio src='ms-appx:///Assets/Siren8.wav'/>"
                                 + "</toast>";

    Windows 8.1 store app custom sound not playing ..what changes need here.




    • Edited by Jamles Hez Wednesday, August 19, 2015 3:08 AM add title tag
    • Edited by Prabu pmp Wednesday, August 19, 2015 10:09 AM
    Tuesday, August 18, 2015 6:50 AM

Answers

  • Hi Prabu pmp,

     

    It seems we are not able to customize it in Windows Store App per the following article:

    The toast audio options catalog

    audio

    See comments below:

    Note  Only the system-provided sounds listed in this topic can be used in a Windows toast notification; the selections are not extensible.”

    The media file to play in place of the default sound. On Windows, this attribute can have one of the following string values: ……

    I’ve also tested your code from my side, the custom sound does not work in my app.

     

    Best regards,

    Barry


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Wednesday, August 19, 2015 3:10 AM