Answers for "Get directory in android java"

0

Get directory in android java

File directory;
if (filename.isEmpty()) {
    directory = getFilesDir();
}
else {
    directory = getDir(filename, MODE_PRIVATE);
}
File[] files = directory.listFiles();
Posted by: Guest on April-20-2021

Code answers related to "Get directory in android java"

Browse Popular Code Answers by Language