Skip to content

Commit cef2c4d

Browse files
committed
need to add the package name pointing to the java class
Fixes mWater#28 To summarize, to use NDK: *Need path to OpenCV defined as an evironment variable *Need a builder defined *Need Android.mk which does includes and declares source files *In the source files .cpp need the package name and java class where the function will be called
1 parent ffda545 commit cef2c4d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎android/jni/jni_part.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ using namespace std;
88
using namespace cv;
99

1010
extern "C" {
11-
JNIEXPORT void JNICALL Java_org_opencv_samples_tutorial3_Sample3View_FindFeatures(JNIEnv* env, jobject thiz, jint width, jint height, jbyteArray yuv, jintArray bgra)
11+
JNIEXPORT void JNICALL Java_ca_ilanguage_rhok_imageupload_ui_Sample3View_FindFeatures(JNIEnv* env, jobject thiz, jint width, jint height, jbyteArray yuv, jintArray bgra)
1212
{
1313
jbyte* _yuv = env->GetByteArrayElements(yuv, 0);
1414
jint* _bgra = env->GetIntArrayElements(bgra, 0);

0 commit comments

Comments
 (0)