Hi guys
When I try to get list of files inside a directory it just returns image files and subdirectories...
File file = new File("/sdcard/Documents");
String[] list = file.list();
for (String s: list) {
System.out.println(s);
}
But directory contents are:
p0.png , p1.svg , directory , c0.css, m0.mp4
What's the problem?
Pankajkumar PatelPosted Apr 3, 2021, 2:37 PM
Susan MurrayPosted Apr 1, 2021, 3:03 PM
Satya KarkiPosted Apr 1, 2021, 6:12 AM
Rijwan AnsariPosted Apr 1, 2021, 6:10 AM