~/ADT/android-sdk-linux/tools/android update project --target android-18 -p .Now you can build
ant debug/release -Dsdk.dir=/home/stevenchiu/ADT/android-sdk-linux/
Easy~
~/ADT/android-sdk-linux/tools/android update project --target android-18 -p .Now you can build
ant debug/release -Dsdk.dir=/home/stevenchiu/ADT/android-sdk-linux/
git clone git://github.com/OpenNI/OpenNI
git checkout -b 1.5.4.0 Unstable-1.5.4.0checkout to tag 1.5.4.0, only this tag works for me
cd Platform/Android/jni
${NDK_ROOT}/ndk-buildYou have to define your NDK_ROOT of course. I use NDK r7
export NDK_MODULE_PATH=/path/to/openni/Platform/Android/jni
git clone git://github.com/avin2/SensorKinect.git
git checkout -b unstable origin/unstable
cd Platform/Android/jni
${NDK_ROOT}/ndk-build
3. Upload your libraries and binary to Android