M.A.Murali M.A.Murali - 1 year ago 60
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.

Answer Source

You can get the path of sdcard from this code:

File extStore = Environment.getExternalStorageDirectory();

Then specify the foldername and file name

for e.g: