Reputation: 2610
the signature of the method is:
Java:
public class FLVCamActivity extends Activity {
static {
System.loadLibrary("FLVCam");
System.out.println("Loaded FLVCam");
}
public native void RunFlvServer(int iCamId);
C++:
extern "C" JNIEXPORT void JNICALL Java_com_sophin_flvcam_FlvCamActivity_RunFlvServer(JNIEnv* env, jobject javaThis, jint iCamId)
Nadav at Sophin
Upvotes: 0
Views: 590
Reputation: 2610
This was an Upper-case/Lower-case sort of thing, FLVCamActivity has 'FLV' in upper while the C++ method has 'Flv' ( Lower ), I wasted almost a day on that, Maan, I hope I'll use my time on real bugs next time.
Upvotes: 0