I want to copy some files from DirAssets to DirInternal. Only files containing "old"'.
I always get a 'File not found' error.
And I only want to copy this files when the app is installed. How do I do that?
I always get a 'File not found' error.
B4X:
Dim HL As List
Dim F As String
HL = File.ListFiles(File.DirAssets)
For i = 0 To HL.Size-1
F = HL.Get(i)
If F.Contains("old") Then
File.Copy(File.DirAssets,F,File.DirInternal,F)
End If
Next
And I only want to copy this files when the app is installed. How do I do that?