please,i know how delete a single file,but how i can delete all (folders and files from sd card) at the same time?
i try with
but nothing with this.
thank you
i try with
B4X:
Dim allsdcard As List
allsdcard.Initialize
allsdcard.AddAll(File.ListFiles(File.DirRootExternal))
For i=0 To allsdcard.Size-1
File.Delete(File.DirRootExternal,allsdcard )
Next
thank you