Hi I am looking for the solution to list all the files from root/Android device.
Suppose there are 3 folder inside root directory,but I want to display all the files in all of these folder in a single list..
Now If am using
File f=new File("/sdcard");
Then it will list all the files from the sdcard folder only..and If I will use
File f=new File("/download");
Then it will list all the files from download folder only ..and if I will use
File f=new File("/");
Then it will list only root direcoty files...not the files inside /sdcard or /download..
So what steps shall I follow to list all the files with a filter to list only .csv files from all the folder inside root.
Thanks..
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…