-1

I want to develop camera functionality for my app where I have to capture 10 images. The camera should not close, rather it should continuously take pictures while I hold the shutter button. I am using intent for opening the camera, but after taking one image the camera is stopping. How can I achieve the desired functionality?

Alex Cohn
  • 56,089
  • 9
  • 113
  • 307
androidking
  • 207
  • 5
  • 17

1 Answers1

3

You would need to write your own camera code, using android.hardware.Camera and/or the android.hardware.camera2.* classes. There is no Intent structure that camera app developers are required to support that handles your use case.

CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491