How get music from "MediaLibrary" and play this in a "mediaelement"
Hello , my name is Middle.
In first i'm sorry for my bad English langage.
I'm a student develloper on "Windows phone 7" and i Have a problem for play music from a "MediaLibrary".
I need get a " sound.wav " from a medialibrary ,and convert this to a "mediaElement" for play music.
I don't need to use the mediaplayer because i make a DJ application..
Thank you very mutch for your futures responses.
Exemple Code..
foreach( var source in mediaSource.GetAvailableMediaSource())
{
ml =new MediaLibrary(source);
mediaelement test = ml.songs[1]; !!!! Error!!!
Hello , my name is Middle.
In first i'm sorry for my bad English langage.
I'm a student develloper on "Windows phone 7" and i Have a problem for play music from a "MediaLibrary".
I need get a " sound.wav " from a medialibrary ,and convert this to a "mediaElement" for play music.
I don't need to use the mediaplayer because i make a DJ application..
Thank you very mutch for your futures responses.
Exemple Code..
foreach( var source in mediaSource.GetAvailableMediaSource())
{
ml =new MediaLibrary(source);
mediaelement test = ml.songs[1]; !!!! Error!!!