Hi Folks,

I am using the following code to set an image from the assets folder.

    Uri numBgUri = 
Uri.parse("file:///android_asset/background_numbers.png");
    numBgImage.setImageURI(numBgUri);

The background_numbers.png file definitely exists in the assets root 
directory.  I am getting a FileNotFoundException in the log: -


    09-23 17:05:23.803: WARN/ImageView(23713): Unable to open content: 
file:///android_asset/background_numbers.png

Any ideas what I could be doing wrong?

Thanks!
Ash

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

Reply via email to