Ask Your Question

Revision history [back]

There is VideoCapture class in C++ interface. You can use it, if you implement Native Activity approach. NDK does not provide API for Camera access from native code, so VideoCapture uses undocumented interfaces, that makes VideoCapture not universal. It does not work on some old Motorolla devices with Android 2.2 and some fresh devices that was not updated from Android 4.0.x to 4.1.x. You can find list of known native camera issues on project issue tracker.