I\'m using my localhost to fetch images and to view in an ImageView. For some reason I\'m getting Factory returned null error. I\'ve looked through the code many times and I
I have encountered the same problem. And also I make sure the url is correct to download the image. By debugging the code, I found the variable of position in inputstream was set to 1024 after the first decode.
So I add inputstream.reset() before the second decode. That works.
Hope can help others.