aleksartx7 / native-camera2

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

About

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

License:Apache License 2.0


Languages

Language:C++ 63.4%Language:Java 28.6%Language:C 6.4%Language:CMake 1.5%