Windows Phone Multiple Background Music - windows-phone-8

I am playing continues background music in my app in Windows Phone. From the microsoft certification point of view the parallel sound must not be opened if there is already music being played.
What should I do?
Should I:
Detect any background music like song and prompt to user to stop my app background
OR
Detect any background music and prompt to user to stop already played music in the background like any song?
OR
Can I can play both backgrounds at the same time with the user's permission?

It sounds like options 1 and 2 are just a single choice you can present to the user: "My audio or your existing audio".
However the very fact you start playing audio will very likely stop any background audio. So you must go with option 2.
Who would honestly pick the 3rd option?

Related

How has google play music disabled illegal downloading of audio streams?

I was just playing some Bowie off google play music on my PC and became curious as to how they have stopped illegal downloading. The All Access feature of google play means you can listen to any music on their servers for a fixed fee a month so I figured they must have a mechanism to stop users downloading anything they're streaming.
I opened up the network log and opened the URL of the audio stream in another tab. It opened fine and showed the MP3 play buttons as expected but the play button does nothing. I understand they will probably be using some kind of cookie method to stop hotlinking but that doesn't mean you can't download it shortly after you've clicked play in the play music client. Its been racking my mind for a while now and I can't think how they might have done it. They seemingly just use the new HTML5 features to play all audio.
Does anyone have any insight into how the genius' at google have done this?
As long as your computer can play the song, it can be recorded (e.g. Freecorder). This is similar to recording songs off the radio onto cassette tape.
It's possible to pirate the songs, but if they make it easy and cheap enough for you to buy the music, they hope you'll just buy it.
Besides, there are PSAs that tell you how illegal and wrong it is to pirate music.

Make sound or play audio in the background agent in Windows Phone

Is it possible to play a piece of audio (very short) in the background agent in Windows Phone? Not background music. What I want to achieve is to tell user what the time is every half an hour.
Try this, it's a tutorial with a sample project:
http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh202978%28v=vs.105%29.aspx

Windows phone Audio play back Agent

Can anybody please tell me that how to play dynamic music list using background playback agent in windows phone 8,i search every where on internet but tutorials can use tha hard coded music list
You can write the information about the music list from the UI (main app) to a file in Isolated storage and then read that information into a List of AudioTrack from the Background Audio Playback Agent.

Detecting Background Process In Windows Phone 8?

In window Phone 8.
While Music Player is running I just want to run the game.
On that time Game should show some popup.
Like Background Music process is running do you want to continue or stop.
or else Stop the background music of the game.
How could i do that??
From managed you can use MediaPlayer.GameHasControl from the Microsoft.Xna.Framework.Media.MediaPlayer.GameHasControl library: http://blogs.msdn.com/b/oren/archive/2010/12/02/wp7-dev-tip-detecting-whether-or-not-the-user-is-playing-music-in-the-background.aspx

Background Audio Agent and Media Player in Windows phone 8

I stuck in a big problem I am playing audio in background using BackgroundAudioPlayer working fine while I am playing another audio file using MediaElement on foreground the background sound is stopped.I want to play both sound simultaneously background and foreground please let me how it will be done.
MediaElement and BackgroundAudioPlayer are exclusive - you can only use one of these at a time.
You are able to play additional sounds using the XNA SoundEffect APIs however. For example of these APIs see this blog entry.