i have a folder in sd card which contains several files.
now i need to get the names of that files.
can anybody have any idea how to get the file names stored in s
If you want to retrieve all files and folder from a specific path of FOLDER then use this code it will help you
String path="/mnt/sdcard/dcim"; //lets its your path to a FOLDER
String root_sd = Environment.getExternalStorageDirectory().toString();
File file = new File(path) ;
File list[] = file.listFiles();
for(File f:list)
{
filename.add(f.getName());//add new files name in the list
}