Can we call the 'main' function in C from Java? How will I pass
parameters to the main function? I basically want to pass a filename
in 'argv' which will be used in the C code for further processing.
Also, where will I locally store this file? When I run only the C
code, I have to save the file in the Project directory itself. How
different would it be when run through Java?
thanks,
Abi
// Use str here...
// ...
ioEnv->ReleaseStringUTFChars(fileName, str);
return 0;
}
> --
> You received this message because you are subscribed to the Google Groups "android-ndk" group.
> To post to this group, send email to andro...@googlegroups.com.
> To unsubscribe from this group, send email to android-ndk...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.
>
>