I am working on an android tablet application. i have created a folder in SD card to store images . I want to delete this folder at some point how can i achieve this ? i am posting my code also.
// This is code for deletion of folder .
File file = new File(Environment.getExternalStorageDirectory()+"/Easy_Measurement_images");
if(file.exists())
{
file.delete();
}
This code not deleting folder from SD Card android.