Hello,
I am trying to load files from Streaming assets because I have some xhtml and some other extension files I want to load
and my application cannot find the folder or file or anything.
I am using:
string AndroidPath = “jar:file://” + Application.dataPath + “!/assets/” + filename;
and it’s not working even though I can find everything in the apk when I unzip it…
if(!File.Exists( “jar:file://” + Application.dataPath ))
{
Debug.debug( “NOT EXIST A” );
}
if(!File.Exists( “jar:file://” + Application.dataPath+ “!/assets/” ))
{
Debug.debug( “NOT EXIST B” );
}
What am I doing wrong? Any ideas?