文件名称:Android代码-Lollipop相机API实例
文件大小:13.45MB
文件格式:ZIP
更新时间:2022-08-26 03:14:06
Android代码
Android Camera2Video Sample This sample shows how to record video using the new Camera2 API in Android Lollipop. Introduction Android Lollipop introduced a new camera API, called camera2. This sample uses CameraDevice and CameraCaptureSession to record video. It also uses a custom TextureView to render the output. The main steps are: Create a custom TextureView class and add it to the layout. The purpose of the custom TextureView is to be able to draw itself according to an aspect ratio, which
【文件预览】:
android-Camera2Video-master
----gradle()
--------wrapper()
----README.md(4KB)
----build.gradle(14B)
----packaging.yaml(475B)
----.google()
--------packaging.yaml(577B)
----gradlew.bat(2KB)
----gradlew(5KB)
----LICENSE(11KB)
----screenshots()
--------2-record.png(2.26MB)
--------icon-web.png(65KB)
--------1-launch.png(2.22MB)
--------3-save.png(2.08MB)
----CONTRIBUTING.md(2KB)
----CONTRIB.md(2KB)
----Application()
--------build.gradle(1KB)
--------src()
----kotlinApp()
--------gradle()
--------README.md(4KB)
--------build.gradle(407B)
--------packaging.yaml(475B)
--------.google()
--------gradlew.bat(2KB)
--------gradlew(5KB)
--------screenshots()
--------CONTRIB.md(2KB)
--------Application()
--------settings.gradle(22B)
----settings.gradle(22B)