Archana
Archana

Reputation: 3221

Windows Phone music player app plays songs from phone library

Im learning windows phone 8 development recently. And started developing music player that plays from phone library. I used MediaLibrary API to get all songs,albums and its working fine now.

What is the problme now is i've assigned MediaPlayer_MediaStateChanged,and MediaPlayer_ActiveSongChanged to mediaplayer object. It triggers when i change the songs that are displayed in longListSelector. That events are not firing when i press next or prev button that i get when I press volume button.

Hope You understood what is the problem. I tried using backgroundPlayerAgent and got to know that doesn support MediaLibrary. And I saw this question also. But i saw few apps that are able to listen to those prev/next button events. If you know what am i missing please help?? Is there any other third party libraries available?? I've searched lot in web but i dint get any usefull information. SO posting this question thinking that i might get some information

Upvotes: 0

Views: 180

Answers (1)

Kimi Sharma
Kimi Sharma

Reputation: 11

  1. Go to Settings > Music

  2. Search for Filter audio files

  3. set audio files By Size....

You will get all songs then

Upvotes: 0

Related Questions