Answer the question
In order to leave comments, you need to log in
How to keep the application from dying when the user opens the camera?
Maybe someone has come across and knows how to solve the problem. The bottom line is this: every time I call the intent to open the camera and take a photo, the application dies and the answer no longer comes to it. Such a suspicion that the system decides to release the resources of minimized applications, and therefore kills it. The application is not loaded, one screen and a couple of data classes in a dozen fields.
Ps One of the crutch options that I found is to write my own screen to work with the camera. Then the application does not die.
Answer the question
In order to leave comments, you need to log in
1) You don't need it
2) Read about state saving
3) Not so crutch. Reliable, but more labor intensive.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question