For the first time (I think) I listed by code the files contained in DirAssets folder.
I don't know why I get also 2 files of an old project; I have not opened this old project for weeks.
Watching right now my own code, there may also be other files, since the code filters them according to their extension.
P.S. ... and it is so:
The only file of the current project is "laymain.bal"; I don't know where others come from ("charge1.mp3.unpacked"??????????? Never added to any project; and probably not even "charge1.mp3").
P.P.S. "charge1.mp3" was a file of a memberI tried to help I helped
B4X:
For Each NomeFile As String In File.ListFiles(File.DirAssets)
If NomeFile.EndsWith(".jpg") _
Or NomeFile.EndsWith(".jpeg") _
Or NomeFile.EndsWith(".png") Then
mlstFloors.Add(NomeFile)
End If
Next
I don't know why I get also 2 files of an old project; I have not opened this old project for weeks.
Watching right now my own code, there may also be other files, since the code filters them according to their extension.
P.S. ... and it is so:
The only file of the current project is "laymain.bal"; I don't know where others come from ("charge1.mp3.unpacked"??????????? Never added to any project; and probably not even "charge1.mp3").
P.P.S. "charge1.mp3" was a file of a member
Last edited: