Im building an app, which makes it possible to up and download image files. Im receiving an inputstream from a server when i ask for image files. if i call the method just after i uploaded the picture without closing my app first, its possible to decode the stream to a bitmap and everything works fine.
But if i close first, i doesn't work and the content looks different. the string i get looks like "{"Attachment":"/9j/4S5RXhp....."