Click here to Skip to main content
15,889,527 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,
I have built this app using the MediaLibrary.Songs. My implementation consists of building a collection of songs and feeding them to the Mediaplayer one at a time.

My problem is, that after building this app, I could not get it to play in the background, or under a lock screen. This led me to the newly introduced BackgroundAudioPlayer. I've at all the examples on msdn, however, they are all with local audio files, with paths saved in IsolatedStorage. I want to use the BackgroundAudioPlayer to play a list of songs from the device's internal Song Library. As far as I know the only way to access this is via the MediaLibrary.

So far I've seen that what I want to achieve is not possible because the BackgroundAudioPlayer can only play audio files that are stored with the application or at an external stream.

So how can I play the music files from SD card using BackgroundAudioPlayer ?

Any help would be appreciated. Thanks :)
Posted
Updated 14-Jun-15 3:56am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900