B4J Question File.DirAssets doesnt read any files added

PassionDEV

Active Member
Licensed User
i have added a file to b4j files tab

then when i try to check if this file exist the result always false

B4X:
If File.Exists(File.DirAssets, "sporty.gif") = True Then
        Log("file found")
      Else
        Log("file not found")

 End If
and the sporty.gif is already in the files tab and in the files folder in the app path whats wrong ?
 
Top