Monday, August 6, 2012

[android-developers] getting assets file in Uri ......FileNotFoundException

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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate