R rose2173 New Member Jul 11, 2016 #1 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
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
S strat Active Member Licensed User Longtime User Jul 11, 2016 #2 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
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.
NJDude Expert Licensed User Longtime User Jul 11, 2016 #3 You cannot remove files from the Assets directory, it is read only. If you are trying on the IDE then just remove them and replace them, whatever you place in the FILES directory will be added to the APK. Upvote 0
You cannot remove files from the Assets directory, it is read only. If you are trying on the IDE then just remove them and replace them, whatever you place in the FILES directory will be added to the APK.