Exception in Drawable.createFromResourceStream() — HTC ONLY?
I've released an IME (soft keyboard) app and I am getting crash reports from HTC phones only . Here is the stack trace: java.lang.NullPointerException at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:465) at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:697) at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:666) at com.comet.android.keyboard.util.Util.getBitmapDrawable(MyFile.java:416) ... Here is my call to Drawable.createFromResourceStream() drawable = Drawable.createFromResourceStream(context.getResources(),