-
Notifications
You must be signed in to change notification settings - Fork 43
jni
cheyiliu edited this page Jan 5, 2016
·
7 revisions
- jni About this tutorial
- Calling C/C++ code from Java programs
- Calling Java code from C/C++ programs
- jni Advanced topics
- 自己按照教材跑通了例子
- 翻译stub ready
- TODO 挨个填坑
- http://www.ibm.com/developerworks/java/tutorials/j-jni/j-jni.html
- https://www-01.ibm.com/support/knowledgecenter/SSYKE2_7.0.0/com.ibm.java.lnx.71.doc/diag/understanding/jni.html
- http://journals.ecs.soton.ac.uk/java/tutorial/native1.1/implementing/index.html
- 生成头文件
C:\androidStudio\android-libac\sample>javah -d jni -classpath C:\tools\adt-bundle-windows-x86_64-20131030\sdk\platforms\android-19\android.jar;.\bin\classes com.xx.secure.maps.NativeHelper
- 生成签名
C:\Users\xyz\Desktop>javap -classpath C:\tools\adt-bundle-windows-x86_64-201310 30\sdk\platforms\android-19\android.jar -s android.content.pm.PackageManager
Just build something.