Possible Duplicate:
How to delete entire contents of sdcard programmatically in Android 2.2
I want to clear all the files from android device programmatically.
Can anyone suggest me the way or code, Hence I can perform this operation please…
Thanks in advance.
add the code just call it when ever you require using the path of the directory to delete or the file to delete