androidandroid-intentandroid-sdk-2.1ringtone

Pick songs from SD card on Android and play it


I have songs in the Music folder on the SD card.

And in my app I want to pick a song from SD card from the list of music files, and when I choose any song, then using the Play button it should be played. How can I do that?

I have already done it using content resolver and got a list of songs. Is there a way to do this using intents to pick from stored songs the SD card?

I have done this by both the ways. Just check it.


Solution

  • Check these to get an Idea,

    http://androidgenuine.com/?tag=play-sound-android

    Setting Ringtone in Android