android - JNI methods are not calling when application comes foreground -


i using jni in application... when application launches works fine , jni logs getting printed .. once application went background , comes foreground after using other application jni logs not printing , methods not getting called..

can suggest me solution?

thanks in advance..

would give more specific info jni design? first thing need check... building jnicode shared library.so check in logs jni_unload getting called when application going in background.

second thing need check... check in application going in backgroud ..shared library getting unloaded application.

third thing need check... jni code caching jvm , jnienv variable.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -