Taking picture from camera without preview

前端 未结 9 1262
北荒
北荒 2020-11-22 13:01

I am writing an Android 1.5 application which starts just after boot-up. This is a Service and should take a picture without preview. This app will log the ligh

9条回答
  •  [愿得一人]
    2020-11-22 13:40

    I found the answer to this in the Android Camera Docs.

    Note: It is possible to use MediaRecorder without creating a camera preview first and skip the first few steps of this process. However, since users typically prefer to see a preview before starting a recording, that process is not discussed here.

    You can find the step by step instructions at the link above. After the instructions, it will state the quote that I have provided above.

提交回复
热议问题