jobjectArray to C character aray in JNI

  • From: "John J. Boyer" <john.boyer@xxxxxxxxxxxxxxxxx>
  • To: programmingblind@xxxxxxxxxxxxx
  • Date: Mon, 17 Jan 2011 10:05:15 -0600

In my Java bindings I have a method like this

public native boolean file2brl (String[] args);

Javah makes the args parameter a jobjectArray. I have found out how to 
get the indivitual objects. Now how do I tell the C program that the 
objects are Strings and to change tghem to char arrays?

The JNI manual appears to be way out of date. I've been looking at jni.h

Thanks,
John

-- 
John J. Boyer; President, Chief Software Developer
Abilitiessoft, Inc.
http://www.abilitiessoft.com
Madison, Wisconsin USA
Developing software for people with disabilities

__________
View the list's information and change your settings at 
//www.freelists.org/list/programmingblind

Other related posts:

  • » jobjectArray to C character aray in JNI - John J. Boyer