androidvideobackgroundcapturecamera2

Capturing Video in Background using Android Camera2 API


I'd like to modify the code of the Camera2Video-Example.

When I leave the application by pressing the Home-Button, it should continue capturing video in Background until I return to the Application and stop the service manually.

Any ideas how to realize this?


Solution

  • Ok, I've got a solution based on this example - although it's the deprecated camera api.