This android tutorial describes how to obtain the android camera2 api focus lock, which is required prior to capturing a still image. GET CODE You can get it from here https://github.com/mobapptuts/recyclerview_image_gallery.git Tag camera2-lock-focus or else run this command git clone —branch camera2-lock-focus https://github.com/mobapptuts/recyclerview_image_gallery.git CODE SAMPLES Add some samples to reference the various camera states private […]

Read more

This android camera2 api tutorial explain how to move time consuming tasks off the main ui thread to the android camera2 api background handler. DOWNLOAD THE CODE The code samples are now provided on github here https://github.com/mobapptuts/recyclerview_image_gallery.git Tag camera2-handler or else run this command git clone —branch camera2-handler https://github.com/mobapptuts/recyclerview_image_gallery.git CODE SAMPLES Creating the HandlerThread & […]

Read more

The android camera2 api surface preview tutorial completes the setup for the preview display which should now be displaying on the device CODE AVAILABLE ON GITHUB You can get the code from here and then you will need to Tag createcamerapreviewsession or else you can run this command git clone --branch createcamerapreviewsession https://github.com/mobapptuts/recyclerview_image_gallery.git CODE SAMPLES CamaraIntentActivity Member Variables […]

Read more

Part 3 of the camera2 API tutorial series which concentrates opening the android camera2 api cameradevice. This is needed before CaptureRequests & CameraCaptureSessions can be started. Code available on github You can download the code by cloning this url from github https://github.com/mobapptuts/recyclerview_image_gallery.git and the code changes are under the Tag “cameradevice” Or else you can run this […]

Read more

Part 2 of the camera2 API tutorial series which describes how to setup the camera2 API surface preview sizes. It is important that the supported preview sizes from the camera device closely match the desired preview size of the applications preview display. GitHub You can clone the code from github and then Tag “camera2-surface-preview-sizes” or else run this […]

Read more

Android Camera2 API LooknFeel – Part 1 of a new tutorial series on how to use the android camera 2 api’s. Part 1 focuses on the look & feel of the application, which is based on the recyclerview image gallery Code available on github You can clone the code from https://github.com/mobapptuts/recyclerview_image_gallery.git Tag looknfeel or else you […]

Read more