Click here to Skip to main content
13,797,212 members
Rate this:
Please Sign up or sign in to vote.
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?
Posted 22-Mar-15 1:39am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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++.

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Cookies | Terms of Service
Web04 | 2.8.181207.3 | Last Updated 22 Mar 2015
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100