(X) Hide this
    • Login
    • Join
      • Generate New Image
        By clicking 'Register' you accept the terms of use .

How to enable Background audio in multiple pages in Windows Phone application

(0 votes)
0 comments   /   posted by Silverlight Show on Oct 17, 2014
Tags:   windows-phone , wpdev
Read original post by Chetan Gulati at Windows App Tutorials
In my last post I had explained you how to play a media file in Windows phone app using Media element control.

http://www.windowsapptutorials.com/windows-phone/media/play-audio-file-windows-phone-app-using-media-element-control/

But when you want to play a continuous audio in the background you may face a problem as you navigate from one page to another as music will stop when you leave the page where the mediaelement control is defined. To overcome this problem one way is to define the Mediaelement globally. So in this post I shall be explaining you about how to define a global media element in Windows phone application.

Comments

No comments

Add Comment

Login to comment:
  *      *       

Our News on Twitter


Latest News