BitmapFactory.decodeStream(InputStream is) returns null for non null InputStream on Android

后端 未结 3 1264
没有蜡笔的小新
没有蜡笔的小新 2020-12-06 19:54

I\'m developing an Android application, and it\'s view is containing multiple Gallerys. The content of the Gallerys (the Bitmaps) are red from the Internet.

For the

3条回答
  •  不思量自难忘°
    2020-12-06 20:31

    Google brought me here. For everyone having the same problem:

    Problem: http://code.google.com/p/android/issues/detail?id=6066

    Solution ("FlushedInputStream"): http://android-developers.blogspot.com/2010/07/multithreading-for-performance.html

提交回复
热议问题