Difference Between Camera and Camera2 in Android

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-03 05:15:50

The old camera API will work fine for #1 and #3; if you're OK with video-resolution GIFs, you can do #2 as well.

You'll need camera2 (and then devices that support fast, full-resolution capture - see the BURST_CAPTURE capability, or any device that supports the FULL hardware level.), if you want bursts at resolutions above ~1080p.

You can probably start with the CameraView unofficial support library, and modify it as needed. It has support for both APIs, selected based on API level of the device.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!