0

Do you know a way to take a picture without previewing? I searched and found only non-working solutions like setting the surface view width and height to 1 dp.

dephinera
  • 3,703
  • 11
  • 41
  • 75
  • I am currently working on similar issue. Have you read http://developer.android.com/guide/topics/media/camera.html ? – gfrigon Oct 09 '14 at 18:29
  • As I see the guide is only for a surfaceview that is previewed. – dephinera Oct 09 '14 at 18:36
  • possible duplicate of _[Take Picture without preview android](http://stackoverflow.com/questions/10799976/take-picture-without-preview-android)_ and _[Android Camera without Preview](http://stackoverflow.com/questions/2386025/android-camera-without-preview)_ – Alex Cohn Oct 09 '14 at 19:26

1 Answers1

0

You can choose not to call the following function to prevent a preview from showing.

Camera.setPreviewDisplay(holder)
Chris Stillwell
  • 10,266
  • 10
  • 67
  • 77