I am working on an android project where the local and remote image
files and their thumbnails are to be displayed. The imageview works
perfectly till the thumbnail part. After that it crashes depending
upon the size of the image file. For example, if the size was ~380kb,
it will open once and then crash the next time you click on its
thumbnail. An image of size around ~150 kb opens properly 3 times and
then crashes the 4th time.
It seems like a out of memory error but I have not been able to work
out a solution. I tried to force close the activity before launching a
new one but that didn't help either. Does anyone has any idea as to
how to work around this issue? I have seen similar problem being
posted on the google group (http://groups.google.com/group/android-
beginners/browse_thread/thread/06da00e2b221822f). Its not the same but
seems like its also the result of an out of memory state.
Any help or pointers will be greatly appreciated.
Thanks in advance.