It's a bitmap file. The function works perfectly, I was only wondering if I could load files directly from DirAssets.
B4A:
B4X:
Dim ms As MazeSolver
'This doesn't work, my function returns FALSE
ms.MazeMatrixLoadBMP(File.DirAssets & "/yeah.bmp")
'...but if I copy the file to DefaultExternal it works (returns TRUE)
ms.MazeMatrixLoadBMP(File.DirDefaultExternal & "/yeah.bmp")
It's a bitmap file. The function works perfectly, I was only wondering if I could load files directly from DirAssets.
B4A:
B4X:
Dim ms As MazeSolver
'This doesn't work, my function returns FALSE
ms.MazeMatrixLoadBMP(File.DirAssets & "/yeah.bmp")
'...but if I copy the file to DefaultExternal it works (returns TRUE)
ms.MazeMatrixLoadBMP(File.DirDefaultExternal & "/yeah.bmp")