Thursday, September 29, 2011

[android-developers] Re: BitmapFactory.decodeResource returning null sometimes for local resource

I got a null pointer when my PNG file was incorrectly saved.   Since I was developing on Linux, I loaded it into GIMP and saved it back out and it loaded.  So you might check using one of the image files supplied in the SDK.

--
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