native-camera2 icon indicating copy to clipboard operation
native-camera2 copied to clipboard

A simple application to demonstrate how to use Android Camera HAL 3

This repo is unmaintained and archived

Hello Camera2

Hello Camera2 is an Android Camera2 sample that plays preview.

It controls camera devices by NDK camera2 APIs which becomes one of public libraries in Android N.

Pre-requisites

  • Android Studio 2.1+ with NDK (>=r12) bundle.

Screenshots

A small extra view is toggled when a screen is touched.

screenshot

Known Bugs

  • When extra surface view is changed, App is crashed. (e.g when switching portrait to landscape mode, vice versa)