/native-camera2

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

Primary LanguageC++Apache License 2.0Apache-2.0

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)