opencv/android
Ethan Rublee 96e127134d fixing a bug in the local.env.mk setup, and correcting the readme's
Also, the androi-opencv.mk.in wasn't correct for one of the crystax NDK
build directory setups
2010-09-22 13:24:37 +00:00
..
android-cmake adding cmake based android scripts and a reusable android library - samples to follow - haven't tested yet completely 2010-09-22 01:47:11 +00:00
android-jni fixing a bug in the local.env.mk setup, and correcting the readme's 2010-09-22 13:24:37 +00:00
android-opencv.mk.in fixing a bug in the local.env.mk setup, and correcting the readme's 2010-09-22 13:24:37 +00:00
Android.mk.in adding cmake based android scripts and a reusable android library - samples to follow - haven't tested yet completely 2010-09-22 01:47:11 +00:00
Android.mk.master.in removing the duplicated zlib for android - seems to build and link fine with the old one ... 2010-09-22 02:20:42 +00:00
Android.mk.modules.in adding cmake based android scripts and a reusable android library - samples to follow - haven't tested yet completely 2010-09-22 01:47:11 +00:00
AndroidCVModule.cmake adding cmake based android scripts and a reusable android library - samples to follow - haven't tested yet completely 2010-09-22 01:47:11 +00:00
AndroidManifest.xml.in adding cmake based android scripts and a reusable android library - samples to follow - haven't tested yet completely 2010-09-22 01:47:11 +00:00
Application.mk.in adding cmake based android scripts and a reusable android library - samples to follow - haven't tested yet completely 2010-09-22 01:47:11 +00:00
changes.Android.txt adding cmake based android scripts and a reusable android library - samples to follow - haven't tested yet completely 2010-09-22 01:47:11 +00:00
changes.diff adding cmake based android scripts and a reusable android library - samples to follow - haven't tested yet completely 2010-09-22 01:47:11 +00:00
CMakeLists.txt removing the duplicated zlib for android - seems to build and link fine with the old one ... 2010-09-22 02:20:42 +00:00
cvconfig.h.in adding cmake based android scripts and a reusable android library - samples to follow - haven't tested yet completely 2010-09-22 01:47:11 +00:00
default.properties.in adding cmake based android scripts and a reusable android library - samples to follow - haven't tested yet completely 2010-09-22 01:47:11 +00:00
diff.txt adding cmake based android scripts and a reusable android library - samples to follow - haven't tested yet completely 2010-09-22 01:47:11 +00:00
README.android.txt woops, broke cmake for a bit... 2010-09-22 03:36:45 +00:00

Author: Ethan Rublee
email: ethan.rublee@gmail.com

  
To build with cmake:

mkdir build
cd build
cmake ..
make



Make sure to set the path in the cache for the crystax ndk available 
here:
   http://www.crystax.net/android/ndk-r4.php
   
   
to include in an android project -
just include the generated android-opencv.mk in you android ndk project
with:

include android-opencv.mk

this defines OPENCV_INCLUDES and OPENCV_LIBS - which you should add to your
makefiles like:

#define OPENCV_INCLUDES and OPENCV_LIBS
include $(PATH_TO_OPENCV_ANDROID_BUILD)/android-opencv.mk

LOCAL_LDLIBS += $(OPENCV_LIBS)
    
LOCAL_C_INCLUDES +=  $(OPENCV_INCLUDES)

for now, you also need to cd to android-jni and run make
this will create the android shared library with some useful functionality
that may be reused in android projects.