Answers for "delet file from path android"

0

delet file from path android

File fdelete = new File(uri.getPath());
if (fdelete.exists()) {
    if (fdelete.delete()) {
        System.out.println("file Deleted :" + uri.getPath());
    } else {
        System.out.println("file not Deleted :" + uri.getPath());
    }
}
Posted by: Guest on July-03-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language