Activity Gets Killed After Returned From The Camera
In my app I call the system camera to take a picture, and then handle the result in onActivityResult. It used to work, but now my calling activity gets killed sometimes, sometimes
Solution 1:
http://developer.android.com/reference/android/app/Activity.html The reason is because memory menagement in Android. As i know your phone has about 100mb free operative memory, if your activity is not on foreground it can be destroyed. So that's why you should implement some methods of you activity to start it is onPause, onDestroy and on Resume methods. Just save all your info in Bundle and start Activity propelly.
Post a Comment for "Activity Gets Killed After Returned From The Camera"