I am working on a mp3 player app, which plays .mp3 files present anywhere inside an internal SD card.
I have used the following codes to fetch the .mp3 files present in
To get a reference to a file located on: sdcard/music/song.mp3:
File file = Environment.getExternalStorageDirectory()+"/music/song.mp3";