How can I access File.DirAssets from a jave library ?
I use the following code with Assets = True :
Code:
if(Assets)
st = File.Combine(File.getDirAssets(), "WMMC.COF") ;
else
st = File.Combine(File.getDirRootExternal() + "/Magnetics", "WMMC.COF") ;
and get the following error:
Quote:
|
Java.io.FileNotFoundException /AssetsDir/WMMC.COF (no such file or directory)
|
when using False - it works (for File.DirRootExternal).