Click here to Skip to main content
15,566,691 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a string array like
and I am trying to send this array to C with using JNI. I could not find any clear solution for this. I have tried to take this string as a chararray but no success.

Is there a way to do this?

1 solution

It is not really clear what the issue is, but I suggest you take a look at[^], which explains how to pass different types between Java and C/C++.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900