Wife learns android creating views in code reviews the work June completed from assignment for creating an Android TextView & EditView and positioning in code. Get Code The code can be found here https://github.com/mobapptuts/androidwife-layouts.git Or else you can run this command git clone https://github.com/mobapptuts/androidwife-layouts.git Code Sample TextView juneView = new TextView(this); RelativeLayout.LayoutParams juneTextParams = new RelativeLayout.LayoutParams( RelativeLayout.LayoutParams.WRAP_CONTENT, […]
Read moreThis 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 moreIn 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 moreThis 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 moreThis 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 moreThis 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 moreThis 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 moreThis 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 moreThe 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 moreWe return to the origins of this tutorial series and call the android picasso image resize feature. If this is not used picasso will load the full images. Which will have an obvious impact on the scrolling speed of the android recyclerview image gallery. CODE AVAILABLE ON GITHUB You can download the code from github […]
Read more
Recent Comments