On the plus camera2 , the camera2 API camera2 much richer than the original Camera API. I suspect it will be more stable than the Camera API, as I think Google takes it more seriously. Conversely, over time, manufacturers are more likely to invest less and less development time and development time in the old Camera API. By 2018, when Android 5.0+ will be 90% of the market, applications should use the camera2 API exclusively, IMHO, unless the application specifically targets outdated devices.
But:
The camera2 API camera2 works on Android 5.0 and higher, so if your minSdkVersion is 21 or higher, you still need the Camera API for older devices. This means either using only the Camera API, or using both (and, therefore, having additional engineering work).
IMHO, the documentation for both is sorely lacking, but the Camera API was longer, so there are more responses to stack overflows, blog posts, etc. that cover it.
/ li>To really take advantage of the camera2 API, you need to be a camera enthusiast, IMHO. Personally, I do not do this, and therefore a lot of what the camera2 API camera2 does not correspond to my understanding, although I am sure that it is really cool.
source share