Thanks for the responses guys, Just a note: My code always works when I test it. The bug is happening once every 200k sessions (as reported via Android Market).
-Chad On Thu, Sep 29, 2011 at 1:58 PM, Chad Ata <[email protected]> wrote: > Thanks for the response Joao, > > Interesting. Do you think there's a bug in the decodeResource() when using > BitmapFactory.Options? > > -Chad > > > On Thu, Sep 29, 2011 at 1:49 PM, Joao Braga <[email protected]> wrote: > >> Try this: >> >> Bitmap bitmap; >> bitmap = BitmapFactory.decodeResource(res, R.drawable.image); >> bitmap = Bitmap.createScaledBitmap(bitmap, bitmap.getWidth(), >> bitmap.getHeight(), false); //if you want to make it scaleble >> >> -- >> 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 >> > > -- 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

