Hi
I have added some jpg files from IDE tab-->add files. now i have replace a new files and remove old file. but the old files not remove and shown all (old and new) jpg files, when type this code:
I have added some jpg files from IDE tab-->add files. now i have replace a new files and remove old file. but the old files not remove and shown all (old and new) jpg files, when type this code:
B4X:
Dim filelist As List=File.ListFiles(File.DirAssets)
For i=0 To filelist.Size-1
Dim filetype=filelist.Get(i)
If (filetype.IndexOf(".jpg")<>-1) Then
Msgbox(filetype,"")
End If
Next