Camera2 API - Android
3 answers
Binod,
This will only work if your platform supports API level 21 - this is the one that comes after the release of Android L.
A detailed explanation of how the Camera 2 API works, you might need to take a look at this article
+7
source to share
you can view this example, maybe it will help you
Camera for Android2Basic
This example demonstrates basic usage of the Camera2 API. Check out the source code to see how you can display the camera preview and take pictures. Prerequisites
Android SDK v21
Android Build Tools v21.1.1
Android Support Repository
https://github.com/googlesamples/android-Camera2Basic
Please check this Github Repo for Android L (API 21) for viewing PkmX / lcamera camera photos
+2
source to share