Click here to Skip to main content
15,885,890 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to Convert jstring to Java.Lang.String and Java.Lang.String to jstring.
Posted
Updated 9-Jan-11 21:33pm
v2

the jni jstring is a representation of java.lang.String - no conversion needed.

Regards
Espen Harlinn
 
Share this answer
 
You need to perform no conversion: JNI makes the Java's String class content available to native functions as jstring type. Have a look at the following documentation page for detailed info Basic Types, Strings and Arrays[^].


:-)
 
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