In this episode of the android camera2 api we implement the android camera2 api full screen image to open once one of the recyclerview grid gallery thumbnails are clicked. Get Code The code is now on github you can get it from here https://github.com/mobapptuts/recyclerview_image_gallery.git Tag camera2-single-image or else run this command git clone –branch camera2-single-image https://github.com/mobapptuts/recyclerview_image_gallery.git Code Samples […]

Read more

The android profiling introduction is a new android video tutorial series whose aim is to highlight any differences between the android image loading libraries. There are a number of high quality android image loading libraries provided and the intention of this tutorial series is to support android developers in their selection process for which android […]

Read more

This tutorial explains how to setup the android camera2 api recyclerview onclick position so we can find the location of the image file. Get Code The code has been uploaded to github here https://github.com/mobapptuts/recyclerview_image_gallery.git TAG camera2-recyclerview-onclick or else you can run this command git clone –branch camera2-recyclerview-onclick https://github.com/mobapptuts/recyclerview_image_gallery.git Code Samples Create the interface file RecyclerViewClickPositionInterface package […]

Read more

In this tutorial we focus on implementing the android camera2 api update gallery so that the latest captured images will be displayed in the gallery. This is slightly complicated for CameraCaptureSession callback is currently being executed in the background thread handler therefore making the RecyclerView and Adapter members not accessible. The quick solution to this […]

Read more

This tutorial describes how to create an android recyclerview grid gallery by converting the original single column gallery to multiple columns. CODE AVAILABLE ON GITHUB You can get the code from here and then you need to Tag multi-column-gallery or else you can run this command git clone --branch multi-column-gallery https://github.com/mobapptuts/recyclerview_image_gallery.git CODE SAMPLES activity_camara_intent.xml <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" […]

Read more

This android tutorial describes the steps involved for the android camera2 api capture still image. Get Code You can get it from here https://github.com/mobapptuts/recyclerview_image_gallery.git Tag camera2-still-capture or else run this command git clone —branch camera2-still-capture https://github.com/mobapptuts/recyclerview_image_gallery.git Code Samples Clean up the ImageReader resource when the application is closed private void closeCamera() { if(mCameraCaptureSession != null) […]

Read more

This tutorial describes setting up the android camera2 api image reader which provides the surface for capturing a still image. Get Code You can get it from here https://github.com/mobapptuts/recyclerview_image_gallery.git Tag camera2-imagereader or else run this command git clone —branch camera2-imagereader https://github.com/mobapptuts/recyclerview_image_gallery.git Code Sampes Create File, ImageReader, ImageReader.OnAvailableListener & ImageSaver members private static File mImageFile; private […]

Read more

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