I'm reading a Bitmap from the SD Card using BitmapFactory.decodeStream. The problem is that if the SD Card is unmounted the process is killed because has a open file in the SD Card.
How can I prevent this? Can I close the file and keep the Bitmap? How can I do that if I don't have a file reference from BitmapFactory.decodeStream?