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
ArrayListnameList = new ArrayList();
File yourDir = new File(Environment.getExternalStorageDirectory(), "/myFolder");
for (File f : yourDir.listFiles())
{
if (f.isFile())
{
nameList.add(f.getName);
}
}