DonManfred Expert Licensed User Longtime User Dec 22, 2015 #1 As you can see the drivers.hex file is in the Files tab listed. But when i want to access them i get a file not found (see log in screen). I´m sure i´m doing some stupid mistake but i can´t find it by myself :-/ If i look into the generated .jar then i can see the file in the Files folder
As you can see the drivers.hex file is in the Files tab listed. But when i want to access them i get a file not found (see log in screen). I´m sure i´m doing some stupid mistake but i can´t find it by myself :-/ If i look into the generated .jar then i can see the file in the Files folder
eurojam Well-Known Member Licensed User Longtime User Dec 22, 2015 #2 Look into the documentation, it says "file.Exists" will not support the Assetfolder.... Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Dec 22, 2015 #3 Both File.Exists and File.Size do not work with assets file. However you know that the file exists. Upvote 0
DonManfred Expert Licensed User Longtime User Dec 22, 2015 #4 Erel said: However you know that the file exists. Click to expand... Ok. I just skipped the file exist check and just read the file with Inputstream into a bytearray. This works. Erel said: Both File.Exists and File.Size do not work with assets file. Click to expand... Ohh, i should have looked deeper in documentation. Upvote 0
Erel said: However you know that the file exists. Click to expand... Ok. I just skipped the file exist check and just read the file with Inputstream into a bytearray. This works. Erel said: Both File.Exists and File.Size do not work with assets file. Click to expand... Ohh, i should have looked deeper in documentation.