Bitmap Crashing upon going back and re-entering Activity
Posted
by dagonal
on Stack Overflow
See other posts from Stack Overflow
or by dagonal
Published on 2010-05-13T14:27:21Z
Indexed on
2010/05/14
1:44 UTC
Read the original article
Hit count: 236
Hello,
I'm not sure what is causing this...I have two Activities, first has a button that goes to the second. The second creates a Bitmap object, assigns it a picture from the sdcard and loads it into an ImageView.
Problem is when I go into the second Activity, then press the back button, and then go back into the second Activity, it crashes. I have no clue why. I did an extensive google search but to no avail.
I can post the source code if you want. Please let me know. Thanks in advance!
I got this from the LogCat: "E/dalvikvm( 4869): Unable to open stack trace file '/data/anr/traces.txt': Permission denied"
I'm not sure how to get the stack trace.
© Stack Overflow or respective owner