fileList=File.readlist(File.DirAssets,".boek") <-- file not found error
does not work
B4X:
fileList=File.ListFiles(File.DirAssets) <- this works show all files
fileList=File.readlist(File.DirAssets,".boek") <-- file not found error
result=InputList(filelist,"Selecteer Boek",-1)
fileList=File.ListFiles(File.DirAssets)
boekList.Initialize
For cnt=0 To filelist.Size-1
line=filelist.Get(cnt)
If line.IndexOf(".boek") <> -1 Then
boekList.Add(line)
End If
Next
result=InputList(boekList,"Selecteer Boek",-1)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.