User Tools

Site Tools


android:android-jni

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
android:android-jni [2010/11/22 14:23] percyandroid:android-jni [2016/05/05 13:07] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Android JNI多线程相关 ======
 +  - http://android.wooyd.org/JNIExample/files/JNIExample.pdf
 +  - http://groups.google.com/group/android-ndk/browse_thread/thread/da092bd665ca9ff1
 +
 +
 ====== Android JNI相关 ====== ====== Android JNI相关 ======
 收集一些Android JNI的使用方法。 收集一些Android JNI的使用方法。
 +
 +====== JNA ======
 +
 +<code>
 +JNA provides Java programs easy access to native shared libraries without writing anything but Java code - no JNI or native code is required. This functionality is comparable to Windows' Platform/Invoke and Python's ctypes.
 +
 +JNA allows you to call directly into native functions using natural Java method invocation. The Java call looks just like the call does in native code. Most calls require no special handling or configuration; no boilerplate or generated code is required.
 +</code>
 +
 +  - https://github.com/twall/jna
 +  - https://github.com/twall/jna/blob/master/www/AndroidDevelopmentEnvironment.md
 ===== Android JNI介绍 ===== ===== Android JNI介绍 =====
   - Android JNI详述:参考http://hi.baidu.com/zhang_sg1984/blog/item/d0d7fcdd698916d58d1029af.html,讲得比较详细   - Android JNI详述:参考http://hi.baidu.com/zhang_sg1984/blog/item/d0d7fcdd698916d58d1029af.html,讲得比较详细
Line 46: Line 62:
   ndkbuild clean   ndkbuild clean
 [[android:android-jni:ndkbuild-bat-for-windows|Bat脚本for Windows]] [[android:android-jni:ndkbuild-bat-for-windows|Bat脚本for Windows]]
 +
 +===== NDK编译脚本For Linux ======
 +1.支持编译静态库
 +
 +2.解析Android.mk:支持指定编译后安装目录,支持编译前拷贝相关静态库到编译目录
 +
 +[[android:android-jni:ndkbuild-shell-for-linux|NDK Shell For Linux]]
  
  
Line 84: Line 107:
 </code> </code>
  
- +====== native crash log分析 ====== 
- +[[android:android-jni:android-ndk-stacktrace-analyzer|native crash log分析]]
- +
- +
  
  
/var/www/dokuwiki/wiki/data/attic/android/android-jni.1290406982.txt.gz · Last modified: 2016/05/05 13:06 (external edit)