0

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?

user2302113
  • 41
  • 1
  • 5

1 Answers1

0

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

user2302113
  • 41
  • 1
  • 5
  • I'm curious, did you ever find out if the same workflow works with the Camera2 API? – njho Jul 06 '17 at 14:47