To receive an image from a smartphone camera on a web page, I use the standard HTML tag and then transfer it to the server.
But sometimes, when you open the camera application, the smartphone simply unloads the page from memory, that is, the page behaves as if it had been reloaded.
Is there a way to prevent the browser or OS from unloading the web page from memory, or not losing the application context when the page is reloaded?
Please, give directions for research