Maybe you want this?
InputStream is = getAssets().open("bottom_logo.png");
On Monday, August 6, 2012 6:20:02 AM UTC-5, Narendra Singh Rathore wrote:
>
> Hi all,
> I am not getting what is wrong here in the following statement. Please
> tell if anyone know about the cause of this behaviour.
>
> *mUris[0]=Uri.parse("file:///android_asset/bottom_logo.png");*
>
> I am getting *FileNotFoundException* for the above statement.
> Am I giving the wrong path or something else is the problem?
>
> I do have this image in my assets folder, and put a lot of efforts to find
> the solution, but still unsuccessful.
>
> Please, let me know what I am doing wrong.
>
>
> Thanks n Regards,
> NSR
>
>
>
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en