I need call native method like that:
java code:
private native Object SendFiles(String strEmail, DeviceInfo info, String [] arrFiles, int cntFiles, ID idRequest);
call SendFiles();
SendFiles(strEmail, null, arrFiles, cntFiles, requestID);
and c++ code:
jobject Java_com_xxxxx_xxxxx_controller_CoreController_SendFiles(JNIEnv *pEnv, jobject obj, jstring strEmail, jobject jinfo, jobjectArray jarrFiles, jint cntFiles, jobject jidRequest){
.........
if(jinfo == NULL) // here crashes !!!!!!!
doSomething();
............
}
Java 'null' can be sent to c 'NULL'?
how i can do this?