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

Показать описание
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.
Github details:
or you can run this command
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
- findViewById
For much more information checkout
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.
Комментарии