Hello!
I got problems using the camera with Corona.
After taking a picture, sometimes the app is being restarted (including the Corona Trial popup) instead of showing the most recent screen.
I have already read the thread here. I have NOT activated a developer option “dont keep activity (destroy all activity…)”.
In fact my phone does not provide this option at all (and I guess it is not activated by default).
I had the behaviour with my own app, so I tried the Camera Sample App, and I could reproduce it there as well.
The problem occured most often under the following circumstances:
- I installed the app from an apk-File and immediately pressed “Open” after installation to start the app.
- I took the picture and immediately pressed “Finish” when the picture was ready.
My Phone is a HTC Desire S.
I searched the ADB Logcat for hints on the problem. This is not easy due to tons of messages.
But I have seen a message from the ActivityManager, probably related to this issue, saying
“Checking to restart com.ansca.corona.CoronaActivity: changed=0x0, handles=0x4a0”
I can search the log but don’t know exactly what to look for. There did not seem to be any more obvious error messages.
Thanks for your help with this nasty problem!