#ifdef
__cplusplusextern
"C" {#endif
//...#ifdef
__cplusplus}
#endif
public native String main(String fileName);
void Java_com_trial_filesys_SimpleTest_main(JNIEnv *env, jobject obj,
jstring filename)
_________
Regards,
http://hoodaandroid.blogspot.in/2012/07/working-with-android-ndk-native.htmlfound this usefully blog that lets you kw how to pass parameters and integer operations on ndk