This website or its third-party tools use cookies which are necessary to its functioning and required to improve your experience. By clicking the consent button, you agree to allow the site to use, collect and/or store cookies.
Please click the consent button to view this website.
I accept
Deny cookies Go Back

Mobile app tutorials

  • Home
  • About
  • Contact
  • Login
You are here: Home / Kotlin Camera2 API / Kotlin Android Camera2 API TextureView

December 13, 2017 by nigel

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 a Java class file
  • How to add logging to a Fragment file
  • The usage of the @JvmStatic tag
  • How to add a TextureView to a Fragment layout file
  • Creating a SurfaceTextureListener

Episodes

Each episode will be released to the site on a weekly basis.

  1. Create TextureView
  2. Camera2 EasyPermissions
  3. Get Id for Camera Device
  4. Connect to Camera Device
  5. Display Rear Camera
  6. Display front Camera (Premium)
  7. Using Preview with SurfaceView (Premium)

The starting code for this tutorial is based on the fragment series. Which is recommended to do if you are new to Android, Kotlin or Android Fragments.


To get access to the source code and code descriptions please fill out the form below to complete your free membership:
An account with your username and/or email address has been created. Log in here to access your products or complete a purchase. [Note: an account will be created even if your initial transaction failed at checkout. If this happened to you, simply log in and attempt your transaction again.]






Print Friendly

Filed Under: Kotlin Camera2 API Tagged With: Android, Android Development Tutorials, Kotlin, Kotlin Camera2 Textureview

  • Facebook
  • Google+
  • Twitter
  • YouTube




Recent Forum Topics

  • Kotlin Fragments
  • Kotlin Camera2 API
  • HTTP Image Libraries

Recent Posts

  • Installing and running flutter
  • Kotlin Camera2 API MediaRecorder
  • Flutter IntelliJ Tips for Beginners
  • Migrating Fragments to Jetpack Navigation
  • Flutter TabBar

Recent Posts

  • Installing and running flutter
  • Kotlin Camera2 API MediaRecorder
  • Flutter IntelliJ Tips for Beginners
  • Migrating Fragments to Jetpack Navigation
  • Flutter TabBar

Search Form

  • Facebook
  • GitHub
  • Google+
  • Twitter
  • YouTube

© 2022 - WWW.MOBAPPTUTS.COM