The android image viewer action open document tutorial is the second part to the android image viewer tutorial series. Where the viewers will be shown how to create a basic android application that  loads an image thumbnail and then displays it on the full screen. This android tutorial series targeted towards beginners to android who would like to learn […]

Read more

Tutorial that describes how to upgrade the android camera2 api to android marshmallow. For this android tutorial we need camera & write storage permissions. The android camera2 api application requires in theory three permissions to function, read external storage access for the recyclerview gallery, camera permission to access the camera2 services and write external storage permission for saving the […]

Read more

Different types of hardware can stress an application in different ways like the nexus 5x so I took the opportunity to do some android camera2 api bug fixes Get Code The code is now on github you can get it from here https://github.com/mobapptuts/recyclerview_image_gallery.git Tag camera2-write-swap-fix or else run this command git clone https://github.com/mobapptuts/recyclerview_image_gallery.git –branch camera2-write-swap-fix Bug fixes […]

Read more

In the android camera2 api preview orientation episode we provide orientation support for the preview screen that affects some none nexus devices. Get Code The code is now on github you can get it from here https://github.com/mobapptuts/recyclerview_image_gallery.git Tag camera2-preview-orientation or else run this command git clone –branch camera2-preview-orientation https://github.com/mobapptuts/recyclerview_image_gallery.git Code Samples CamaraIntentActivity Implement the transform […]

Read more

In this episode of the android camera2 api we respond to an android mediastore action image capture intent for applications that want image capture. Get Code The code is now on github you can get it from here https://github.com/mobapptuts/recyclerview_image_gallery.git Tag camera2-action-image-capture or else run this command git clone –branch camera2-action-image-capture https://github.com/mobapptuts/recyclerview_image_gallery.git Code Samples We change […]

Read more

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

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 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