This sample captures Camera2 extensions generated images via the Camera2 API including displaying a camera preview and using repeating capture requests. This sample application can only be built and used on Android SDK 31+.
This sample displays a live camera preview in TextureView and allows the user to capture a still image using the Camera Extension API
- Android SDK 31+
- Android Studio 3.6+
- Device with CameraX/Camera2 extensions
This sample uses the Gradle build system. To build this project, use the "gradlew build" command or use "Import Project" in Android Studio.
- Stack Overflow: http://stackoverflow.com/questions/tagged/android
If you've found an error in this sample, please file an issue: https://github.com/android/camera-samples
Patches are encouraged, and may be submitted by forking this project and submitting a pull request through GitHub. Please see CONTRIBUTING.md for more details.