opencv/modules/androidcamera/camera_wrapper/android.3.0.1
2012-03-21 06:52:18 +00:00
..
Camera.patch First version of native camera support for Android 3.x.x and 4.0.x 2012-01-18 14:33:39 +00:00
ICamera.patch First version of native camera support for Android 3.x.x and 4.0.x 2012-01-18 14:33:39 +00:00
README Issue #1201: auto-focus problem was fixed. Binaries were rebuilt. 2012-03-21 06:52:18 +00:00
SurfaceTexture.patch First version of native camera support for Android 3.x.x and 4.0.x 2012-01-18 14:33:39 +00:00

Building camera wrapper for Android 3.0.1:

1) Get sources of Android 2.3.x (2.3.3 were used)
2) Apply patches provided with this instruction to frameworks/base/include/camera/ICamera.h and frameworks/base/include/camera/Camera.h
3) Get frameworks/base/include/gui/ISurfaceTexture.h and frameworks/base/include/gui/SurfaceTexture.h from Android 4.0.x (4.0.3 were used) sources and add them to your source tree.
4) Apply provided patch to the frameworks/base/include/gui/SurfaceTexture.h.
5) Pull /system/lib from your device running Andoid 3.x.x
6) Edit <Android Root>/development/sdk/platform_source.properties file. Set Android version to 3.0.1.
7) Build wrapper as normal using this modified source tree.