I'm trying to load files from assets folder. Assets folder contains two folders dir1, dir2 and file file1. I'm using following code:
AssetManager am = getAssets(); String[] data = null; try { data = am.list(""); } catch (IOException e) { e.printStackTrace(); } This gives me following output: sounds, images, webkit, file1. Anyone knows how to list folders dir1, dir2?
P.S. If I do data = am.list("dir1"); it shows me files, that located in dir1.