It seems that most of the Android 4.4.2 devices are not compatible with libnative_camera. My NativeActivity app is crashing with the following backtrace:
#00 pc 000253b2 /system/lib/libgui.so (android::BufferQueue::setCurrentDirtyRegion(int)+37)
#01 pc 00018439 /data/app-lib/nightradio.phonopaper-1/libnative_camera_r4.4.0.so (CameraHandler::initCameraConnect(bool (* const&)(void*, unsigned int, void*), int, void*, android::CameraParameters*)+1936)
or
#00 pc 00026578 /system/lib/libgui.so (android::BufferQueue::releaseBuffer(int, unsigned long long, void*, void*, android::sp<android::Fence> const&)+143)
#01 pc 00018439 /data/app-lib/nightradio.phonopaper-1/libnative_camera_r4.4.0.so (CameraHandler::initCameraConnect(bool (* const&)(void*, unsigned int, void*), int, void*, android::CameraParameters*)+1936)
Please can anyone build the libnative_camera_r4.4.2?