for(int i = 0; i < files.length; i++)
{
    File file = files[i];
    path.add(file.getPath());
    if(file.isDirectory())
        item.add(file.getName() + R.drawable.folder); /* it doesn't work, because it shows numbers instead of folder icon */
    else
        item.add(file.getName());
}
うまくいきません。フォルダ アイコンの代わりに数字が表示されます。