I am working with android NDK, in java, i pass an arrayList to the method. It is look like:
public static native float[] computeFeatures(ArrayList<double[]> list);
i am using javah to generate header file and in C++, this method has converted into:
JNIEXPORT jfloatArray JNICALL Java_khoa_cspdemo_Main_computeFeatures(JNIEnv *env,
jclass jc, jobject obj);
Now, in C++ code, i want to access each element of ArrayList (list), how do i get this? Please help me! Thanks in advance!