¡@

Home 

c++ Programming Glossary: jni_onload

Linux equivalent of DllMain

http://stackoverflow.com/questions/12463718/linux-equivalent-of-dllmain

JNI libraries e.g. on Android there may be a special entry JNI_OnLoad which is intended to fill JNI function table. GCC defines special..

FindClass from any thread in Android JNI

http://stackoverflow.com/questions/13263340/findclass-from-any-thread-in-android-jni

I have these 3 combinations to explain the issue. 1 inside JNI_OnLoad thread myFindClass env com noname TestClient ... inside native.. TestClent c0 0 c1 0x41b64558 c0 and c1 are same 0 2 inside JNI_OnLoad thread env FindClass com noname TestClient ... inside native.. TestClent c0 0 c1 0x41b64558 c0 and c1 are same 0 3 inside JNI_OnLoad thread com noname TestClient isn't touched from JNI_OnLoad...

Get function names from call stack

http://stackoverflow.com/questions/2314273/get-function-names-from-call-stack

0x43b7c938 02 22 14 47 39.310 DEBUG dalvikvm 504 No JNI_OnLoad found in data data android.TestApp lib libDM.so 0x43b7c938 02..