Android Question delete bitmap file in file.DirAssets

rose2173

New Member
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:
Code:
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
 
The files you saw are in your phone so you should delete these files manually. You can uninstall your app by clear all data, then reinstall it. There may be another ways to do it.
 
Upvote 0
Back
Top