Windows Phone and PhoneGap – Article #10 – Beep sound
Well , this is something simple which can be done in 1 line of code if you are using PhoneGap for Windows Phone .
If you are using Windows Phone SDK and developing App in Silverlight or XNA , you might end up using the SoundEffect class to load the sound from the stram and play it for a beep sound .
The PhoneGap provides the method navigator.notification.beep that plays the beep sound .
The methods navigator.notification.beep takes 1 parameter i.e the number of times the beep sound should be made
navigator.notification.beep(3) which makes 3 beep sound .
function Button1_onclick()
{
navigator.notification.beep(100);
}
How is this done in PhoneGap where in one needs to load the file in silverlight or XNA ?
Well , looks like a file to load the Beep sound is loaded internally in PhoneGp library to achieve this …

[...] Windows Phone and PhoneGap – Article #10 – Beep sound Related Posts
honeGap 1.3 with full Windows Phone 7 support releasedWindows Phone Widget Library for Windows Phone 7 DevelopmentScreenshot App for Windows Phone MangoHow to Load Image that is set as Embedded Resource in BuildAction in Windows Phone ?Windows Phone SDK 7.1 is now available for DownloadCan Microsoft Windows Phone & Nokia Replace BlackBerry in Enterprise ?Webinar – Networking with Sockets in Windows PhoneHow to read data from a text file in Isolated Storage in Windows Phone ?How to Use the BingMapsTask in Windows Phone 7 ?How to enable / disable Wifi in Windows Phone using C# ?By Blogsdna [...]