Should I use Camera2 or Camera API for Android?

Android has released a new version of the camera APIs called camera2 , I want to use them in my application, since I had a lot of problems with the old APIs, and I hope that the new camera control APIs will be better. The problem is I have most of the users on older Android devices, is there any compatibility package to handle this for you, or do you need to write two different classes for each API?

+4
source share
1 answer

is there a compatibility pack to handle this for you

, - Camera2 . , android.hardware.Camera API - " ".

API?

, , . , , API, API.

+7

Source: https://habr.com/ru/post/1568200/


All Articles