1. Get the Field ID of the instance variable to be accessed via GetFieldID() from the class reference. You need to provide the variable name and its field descriptor (or signature). For a Java class, the field descriptor is in the form of "L<fully-qualified-name>;", with dot replaced by forward slash (/), e.g.,, the class descriptor for String is "Ljava/lang/String;". For primitives, use "I" for int"B" for byte"S" for short"J" for long"F" for float"D" for double"C" for char, and "Z" for boolean. For arrays, include a prefix "[", e.g., "[Ljava/lang/Object;" for an array of Object"[I" for an array of int.




    http://www3.ntu.edu.sg/home/ehchua/programming/java/JavaNativeInterface.html 

'Develop' 카테고리의 다른 글

Release 에서 UserDefault.xml 경로  (0) 2013.10.17
collapse all  (0) 2013.08.28
where 절의 함수  (0) 2013.08.09
월요일 6시 기준으로 주차를 결정함  (0) 2013.06.18
git tutorial  (0) 2013.05.21

+ Recent posts