Opening an Image file inside the assets folder
<p>Hi all
I'm new to android
I have a .gif file inside the assets folder like this assets/Files/android.gif
when I try to open the file it throws an exception at the second line</p>

<pre><code>AssetManager mngr=getAssets();
InputStream is2=mngr.open("Files/android.gif");
</code></pre>

<p>so is it that I'm trying to open an image file despite that the same code works if I try to open a text file ?
what can be the problem here.
thanks</p>
