M.A.Murali M.A.Murali - 2 months ago 6x
Android Question

how to get file path from sd card in android

hi all i have mp3 files in sd card. how to get file path of mp3 song from sd card.

please assist me.


You can get the path of sdcard from this code:

File extStore = Environment.getExternalStorageDirectory();

Then specify the foldername and file name

for e.g: