Blank screen on android 4.2
Hi
My OpenCV demo on Google Play, a superset of some of the demo apps, gives me a blank screen on Android 4.2 I have tried using OpenCV 2.4.3 and 2.4.0 with the same result. Here's my stack trace:
02-28 14:19:55.318: D/dalvikvm(10526): Trying to load lib /data/app-lib/barry.opencvdemo-1/libopencv_java.so 0x415d0b30
02-28 14:19:55.318: D/dalvikvm(10526): Shared lib '/data/app-lib/barry.opencvdemo-1/libopencv_java.so' already loaded in same CL 0x415d0b30
02-28 14:19:55.318: D/CAMERA_ACTIVITY(10526): Library name: libopencv_java.so
02-28 14:19:55.318: D/CAMERA_ACTIVITY(10526): Library base address: 0x7406a000
02-28 14:19:55.338: D/CAMERA_ACTIVITY(10526): Libraries folder found: /data/app-lib/barry.opencvdemo-1/
02-28 14:19:55.338: D/CAMERA_ACTIVITY(10526): CameraWrapperConnector::connectToLib: folderPath=/data/app-lib/barry.opencvdemo-1/
02-28 14:19:55.338: E/CAMERA_ACTIVITY(10526): ||libnative_camera_r2.3.3.so
02-28 14:19:55.338: E/CAMERA_ACTIVITY(10526): ||libnative_camera_r4.0.3.so
02-28 14:19:55.338: E/CAMERA_ACTIVITY(10526): ||libnative_camera_r2.2.0.so
02-28 14:19:55.338: E/CAMERA_ACTIVITY(10526): ||libnative_camera_r3.0.1.so
02-28 14:19:55.338: E/CAMERA_ACTIVITY(10526): ||libnative_camera_r4.0.0.so
02-28 14:19:55.338: D/CAMERA_ACTIVITY(10526): try to load library 'libnative_camera_r4.0.3.so'
02-28 14:19:55.338: D/CAMERA_ACTIVITY(10526): CameraWrapperConnector::connectToLib ERROR: cannot dlopen camera wrapper library /data/app-lib/barry.opencvdemo-1/libnative_camera_r4.0.3.so, dlerror="Cannot load library: soinfo_relocate(linker.cpp:975): cannot locate symbol "_ZN7android14SurfaceTextureC1Ejbjb" referenced by "libnative_camera_r4.0.3.so"..."
02-28 14:19:55.338: D/CAMERA_ACTIVITY(10526): try to load library 'libnative_camera_r4.0.0.so'
02-28 14:19:55.348: D/CAMERA_ACTIVITY(10526): CameraWrapperConnector::connectToLib ERROR: cannot dlopen camera wrapper library /data/app-lib/barry.opencvdemo-1/libnative_camera_r4.0.0.so, dlerror="Cannot load library: soinfo_relocate(linker.cpp:975): cannot locate symbol "_ZN7android14SurfaceTextureC1Ejbj" referenced by "libnative_camera_r4.0.0.so"..."
02-28 14:19:55.348: D/CAMERA_ACTIVITY(10526): try to load library 'libnative_camera_r3.0.1.so'
02-28 14:19:55.348: D/CAMERA_ACTIVITY(10526): CameraWrapperConnector::connectToLib ERROR: cannot dlopen camera wrapper library /data/app-lib/barry.opencvdemo-1/libnative_camera_r3.0.1.so, dlerror="Cannot load library: soinfo_relocate(linker.cpp:975): cannot locate symbol "_ZN7android14SurfaceTextureC1Ej" referenced by "libnative_camera_r3.0.1.so"..."
02-28 14:19:55.348: D/CAMERA_ACTIVITY(10526): try to load library 'libnative_camera_r2.3.3.so'
02-28 14:19:55.348: D/CAMERA_ACTIVITY(10526): Loaded library '/data/app-lib/barry.opencvdemo-1/libnative_camera_r2.3.3.so'
02-28 14:19:55.348: D/OpenCV_NativeCamera(10526): CameraHandler::initCameraConnect(0x7436b479, 0, 0x73004b60, 0x0)
02-28 14:19:55.348: D/OpenCV_NativeCamera(10526): Connecting to CameraService v 2.3
02-28 14:19:55.698: D/OpenCV_NativeCamera(10526): Instantiated new CameraHandler (0x7436b479, 0x73004b60)
I don't get any compile or run errors, but no frames are being processed because some part of the lib is failing to load. Can anyone point me in the right direction here please? I'm struggling.
Many thanks
Barry