My Android application needs to read a CSV file which is copied to the root directory on the device (device is NOT rooted so I guess it's not the real root directory, just the directory you see when opening the device in Windows explorer).
I wonder if this is possible?
When I do this:
File file = new File("/data.csv");
if (file.exists()) {
System.out.println("File exists!");
} else {
System.out.println("File does NOT exist");
}
I get: "File does NOT exist"