Get current list with windows 7 phone list

I want to display a list of songs in current playlists. If users play music in my application, I might know which playlist is playing, but if they play in the zune application, and then switch to my application, my list of songs will be empty, although the playlists are still running.

For example: if users playing playlists on a Windows 7 phone using the Zune application then go to my application, how do I get the current playlists?

+4
source share
3 answers

The current Windows Phone 7 APIs only integrate with phones through MediaPlayerLauncher , which allows you to launch media files from your application.

The Mango APIs (7.1) allow integration with the media hub + video, however the APIs are still pretty simple. You can determine the currently playing media through MediaHistory.NowPlaying .

+3
source

MediaHistory.NowPlaying is of type MediaHistoryItem, which has the Title and ImageStream property. You can add a title and image to your collection.

0
source

You can use the MediaPlayer.Queue property for the static MediaPlayer class from Microsoft.Xna.Framework library

0
source

All Articles