Assets @ Android
<p>I am having problems listing assets in my apk file, my aim is to be able to get the direct path of one of my assets and pass it to native code using JNI<br/>
 1. I have added a file to the assets folder of my project<br/>
 2. <strong>I have verified that the file exist in the '/assets' folder</strong> of the apk file resulting of compilation of my project<br/>
 3. at the 'onCreate' function of my Activity I do the following:<br/>
      AssetManager am = this.getApplicationContext().getAssets();<br/>
      String strAssets[] = am.list("/assets");<br/>
 4. strAssets.length is always zero<br/>
 5. I was getting the same for "./assets" and "assets"<br/>
<br/>
What am I doing wrong here? why can't I list the available assets?<br/>
<br/>
Any help will be appreciated.<br/>
<br/>
~Nadav at sophin<br/></p>
