Alert sound in Windows Phone 8.1 App
问题 I am writing a Windows Phone 8.1 App (WINRT) . On click of a button, a beep must play . So i used MediaElement , but the problem is it pauses the MediaPlayer song . I even tried to change AudioCategory /Stream type but its not helping. Stream types Any solution? private void CreateMediaElements() { //WINRT: MediaElementObject = new MediaElement(); MediaElementObject.AudioCategory = AudioCategory.Alerts; MediaElementObject.IsLooping = false; MediaElementObject.Source = new Uri("ms-appx://