Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Regular Contributor
Posts: 50
Registered: ‎12-11-2010
My Device: nil

Input stream gets closed while reading image data

while reading image data( i am trying to download images more than 50kb also and such two three images) the application works fine and downloads those images for two three times.. When i further try to download the images the application throws an exception at reading input stream. I tried reading and writing the data to a byte array different ways but every dtat reading failed.