使用BitmapFactory.decodeStream(inStream)时百思不得其解,inStream打印出来,不是空的,写了个小demo也能运行,但是在正式代码中就是要出错,开始以为是handler的问题,后来才知道是因为加载的bitmap太多了以致内存溢出,stackoverflow上的大神如是说
记得常用bmp.recycle()!!!
and 查developer: http://cs.szpt.edu.cn/android/reference/android/graphics/BitmapFactory.Options.html#inJustDecodeBounds