I need a valid method to check if a String represents a path for file or a directory. What are valid directory names in Android? As it comes out, folder names c
String
private static boolean isValidFolderPath(String path) { File file = new File(path); if (!file.exists()) { return file.mkdirs(); } return true; }