The making android video app full screen tutorial describes how to use Kitkat’s immersive full-screen mode to create a full screen app. The android video app full screens tutorial comes recommended for android beginners and people new to android. Get Code The code relating to this tutorial can be found here https://github.com/mobapptuts/android_camera2_api_video_app.git Tag camera2-video-full-screen or you […]

Read more

The android video app adding icons tutorial is the first episode in an android tutorial series on how to create an android camera application that takes video as well as simultaneously capturing images when the camera button is pressed. The android video app adding icons tutorial comes recommended for android beginners and people new to […]

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

For this tutorial we describe how to upgrade the android video app to android marshmallow. For this android tutorial we will be supporting read external storage. The android video application requires two permissions to function, read external storage access to load the video and the access to an external camera application for the video capture. Because the application […]

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

In part 7 of the android performance optimisations for recyclerview image galleries we will be using android glide image library to compare image gallery scrolling performance against the other solutions in this tutorial series. ADD GRADLE DEPENDENCY FOR GLIDE dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) compile 'com.android.support:recyclerview-v7:22.0.+' compile 'com.github.bumptech.glide:glide:3.6.0' compile 'com.squareup.picasso:picasso:2.5.2' } CALL GLIDE […]

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

In the Android performance with inBitmap tutorial we add the BitmapFactory.Option’s inBitmap flag which can be used for bitmaps that have been evicted from the memory cache but not yet deallocated. This is only supported for android versions Honeycomb or later. Implementation Create a Set of SoftReferenced Bitmaps CamaraIntentActivity private static Set<SoftReference<Bitmap>> mReuseableBitmap; Initialise the […]

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

This tutorial is about resolving concurrency issues that happen when issuing AsyncTasks when using RecyclerViews in android applications. Get Code You can download the code from github here https://github.com/mobapptuts/recyclerview_image_gallery.git Tag concurrency Or else run this command git clone –branch concurrency https://github.com/mobapptuts/recyclerview_image_gallery.git Create a class derived from BitmapDrawable public static class AsyncDrawable extends BitmapDrawable { final WeakReference<BitmapWorkerTask> taskReference; […]

Read more