I want to make the most out root access to all folders. this order is correct and always available and present?
File ffile = new File(Environment.getRootDirectory().getParent());
// return "/"
// "/" out root access to all folders
I want to make the most out root access to all folders. this order is correct and always available and present?
File ffile = new File(Environment.getRootDirectory().getParent());
// return "/"
// "/" out root access to all folders
You call getRootDirectory() to get the system directory. If you want the true root of all folders, it's always just "/". So just do
new File("/");