how to capture an image in background without using the camera application

前端 未结 3 550
滥情空心
滥情空心 2020-11-29 02:04

I have an android app which consists of a Button.
When you click on Button, an image should be captured from the camera without opening the camera application (the image

3条回答
  •  难免孤独
    2020-11-29 02:55

    If you are using CAMERA2 API (added in API 21), then kindly check my answer here Capture picture without preview using camera2 API

    Hope that helped :)

提交回复
热议问题