Marco Maria Vilucchi Active Member Licensed User Longtime User Jul 13, 2015 #1 Hi, I need initialize a bitmap with a file in a sub folder of DirAssets. I use this code: B4X: pic0.initialize(File.DirAssets & "/icone/","icpiu.png") but I have this response: Error opening stream: The operation couldn’t be completed. No such file or directory My file exist. What Happens? Ths Marco
Hi, I need initialize a bitmap with a file in a sub folder of DirAssets. I use this code: B4X: pic0.initialize(File.DirAssets & "/icone/","icpiu.png") but I have this response: Error opening stream: The operation couldn’t be completed. No such file or directory My file exist. What Happens? Ths Marco
omidaghakhani1368 Well-Known Member Licensed User Longtime User Jul 13, 2015 #2 retry File.Combine(File.DirAssets & "icone") Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jul 13, 2015 #3 Subfolders under the assets folder are currently not supported. You can put a zip file with all the files and then use the archiver library to unzip it in one of the other folders. Upvote 0
Subfolders under the assets folder are currently not supported. You can put a zip file with all the files and then use the archiver library to unzip it in one of the other folders.