Sample android code describing the usage of native opencv code with Android. Blog link: http://jayrambhia.com/blog/ndk-android-opencv/