How to prevent Android from restarting the application after invoking the camera’s intent?

On a device with low memory, I have a problem after calling the camera. When the result of the activity is to be obtained, Android will restart the entire application.

Has anyone encountered the same problem? Is there any solution?

+3
source share
2 answers

I ran into the same problem a while ago: Android system stops working when starting Media Intent

There seems to be no solution, so you need to save and restore the state of the application.

+2
source

, , : Image byte array , , , : :

  • , , .

  • , , , SD- ... onActivityResult .

, .

0

All Articles