The Kotlin Camera2 API MediaRecorder Android development tutorial describes how to setup the MediaRecorder for recording video from the rear camera. This Kotlin on Android tutorial follows on from the icons episode. In this Kotlin on Android tutorial we will cover: How to create a unique file name How to create an Android File Using […]
Kotlin Android Camera2 API Device Id
The Kotlin Android Camera2 API Device Id development tutorial describes how to get the device id relating to a specific camera lens. This Kotlin on Android tutorial follows on from EasyPermissions tutorial. In this Kotlin on Android tutorial we will cover: Creating a value for camera manager using Kotlin lazy {} Creating helper method for […]
Kotlin camera2 API video SurfaceView
The Kotlin camera2 API video SurfaceView Android development tutorial describes how to use the SurfaceView instead of the TextureView. This Kotlin on Android tutorial follows on from the camera2 audio episode. The Android camera2 runtime permissions need to be changed slightly to support the SurfaceView. The CAMERA permission has to be granted prior to adding […]
Kotlin Android Camera2 API TextureView
The Kotlin Android Camera2 API TextureView development tutorial describes how to add a TextureView to the Preview Fragment. This tutorial will consist of two parts. The initial setup of the base code Adding the TextureView to the Fragment layout file In this Kotlin on Android tutorial we will also cover: Using Kotlin Reflection for accessing […]
Kotlin SurfaceView Preview Screen
The Kotlin SurfaceView Preview Screen Android development tutorial describes how to use a SurfaceView for displaying output to a Preview Screen. In the previous Kotlin on Android tutorial we covered how to switch between camera’s for the preview display. In this Kotlin on Android tutorial we will cover: Replacing the TextureView with SurfaceView in the […]
- 1
- 2
- 3
- 4
- Next Page »