¡@

Home 

java Programming Glossary: myjavaactivity

When/why does my Java singleton instance get destroyed?

http://stackoverflow.com/questions/7503997/when-why-does-my-java-singleton-instance-get-destroyed

android app that is setup to start a Java activity call it MyJavaActivity which in turn launches a NativeActivity. When the NativeActivity.. When the NativeActivity finishes it returns back to MyJavaActivity. I also have a Java singleton class call it MyJavaSingleton.. NativeActivity using JNI which can later be retrieved by MyJavaActivity. The problem is MyJavaSingleton instance seems to be in memory..