I could try and commit the stream to the file system first and then decode the file to create a Bitmap. That way, I can keep a check on the size of the File assuming that File.length would yield relevant results. I guess it would be better to display the Bitmap a little late than throw unexpected OOM errors.
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en