filmov
tv
Android Camera2 API Video App - Part 4 Creating the camera device

Показать описание
Android tutorial series which describes how to create an android video application using the android camera2 API.
Part 4 describes how to create the android camera2 api CameraDevice which must be done before opening a connection to the camera.
Github details:
or you can run this command
In this tutorial we will cover:
- Creating members for the CameraDevice & CameraDevice.StateCallback
- Initialising the mCameraDevice in the onOpened method
- Cleaning up the camera resources in the onDisconnected & onError methods
- Creating a closeCamera method to clean up the CameraDevice resources
- Creating the activity onPause method
API's covered
- CameraDevice
- CameraDevice.StateCallback
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.
Part 4 describes how to create the android camera2 api CameraDevice which must be done before opening a connection to the camera.
Github details:
or you can run this command
In this tutorial we will cover:
- Creating members for the CameraDevice & CameraDevice.StateCallback
- Initialising the mCameraDevice in the onOpened method
- Cleaning up the camera resources in the onDisconnected & onError methods
- Creating a closeCamera method to clean up the CameraDevice resources
- Creating the activity onPause method
API's covered
- CameraDevice
- CameraDevice.StateCallback
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.
Комментарии