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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download