Back to Browse

Android Camera2 API Video App - Part 3 Adding TextureView for displaying the preview

34.4K views
Dec 30, 2015
10:23

The new Kotlin version is available here https://goo.gl/KDVKaJ Android tutorial series which describes how to create an android video application using the android camera2 API. Part 3 describes how to add the TextureView and attach a surface texture listener to be notified of when the TextureView is available. Check the accompanying website tutorial here https://www.nigeapptuts.com/?p=567 Github details: https://github.com/mobapptuts/android_camera2_api_video_app.git Tag camera2-video-textureview or you can run this command git clone https://github.com/mobapptuts/android_camera2_api_video_app.git --branch camera2-video-textureview In this tutorial we will cover: - Padding in RelativeLayouts - Adding a TextureView to a RelativeLayout - Creating a TextureView - Creating a SurfaceTextureListener - Checking the availability of the TextureView - Checking whether the surface texture listener creation was successful API's covered - TextureView - TextureView.SurfaceTextureListener - TextureView.isAvailable - TextureView.setSurfaceTextureListener - findViewById For much more information checkout Website - https://www.nigeapptuts.com Twitter - https://twitter.com/MobAppTuts Facebook - https://www.facebook.com/nigeapptuts Google+ - https://plus.google.com/b/115884642086760882044 Pinterest - https://www.pinterest.com/mobapptuts/ The previous tutorials were aimed at beginners to android but over time have been getting more complex as the original camera_intent app has developed. This tutorial series is more aimed towards the intermediate developers thought for those who have been following the previous tutorial series, feel free to watch this android performance series. Android studio (1.5) is the editor of choice (IDE) for this tutorial series. This tutorial series is the start of what I expect to be many so I encourage comments and feedback to improve the quality and viewing experience.

Download

0 formats

No download links available.

Android Camera2 API Video App - Part 3 Adding TextureView for displaying the preview | NatokHD