I don't know how to debug this because it's not a typical crash, and I can't get a stack trace. Sometimes, the OS just restarts itself. Other times, I have to take out the battery,
It happens, some of the time, when the user clicks on the button to take a picture. This button calls takePicture() which simply makes an intent, puts the data (JPEG) into an extra, and then calls startActivity(intent);
I don't have any extra thread stuff happening. Could a need of those be causing the OS to lock up? Or could it be a lack of memory? I don't know how to begin troubleshooting this.
Thanks
Edit: Also, when the freeze occurs, if I plug my phone back in there are dozens of instances of my app running for some reason.