Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use android ndk to access camera [duplicate]

Does android-NDK support direct camera access? There is no Camera.h in my NDK folder.

like image 685
Zixuan Wang Avatar asked Jul 24 '12 23:07

Zixuan Wang


People also ask

What can I do with Android NDK?

The Native Development Kit (NDK) is a set of tools that allows you to use C and C++ code with Android, and provides platform libraries you can use to manage native activities and access physical device components, such as sensors and touch input.

What is ANativeWindow?

ANativeWindow represents the producer end of an image queue.

Is Android NDK required?

It still requires the use of NDK, but all the work of exposing the capabilities to Android apps has already been done.


1 Answers

You're probably going to need some kind of JNI action... Here is an SO Post that seems to address it: take a picture with android ndk - camera api

like image 122
Salil Pandit Avatar answered Oct 05 '22 23:10

Salil Pandit