JNI Tips

http://developer.android.com/intl/ja/guide/practices/design/jni.html
「pthread_createで生成した threadは AttachCurrentThreadにより JNIを呼び出せるようになり, DetachCurrentThreadで切り離す 」
http://twitter.com/#!/nagamatu/status/93478959672606720
「Data passed to NewStringUTF must be in "modified" UTF-8 format. ファイルやネットワーク経由で入手したデータを渡すときは注意する事。」
http://twitter.com/#!/nagamatu/status/93480262935117825