Clean up JNIHelper
Use an obtained class loader instead of the default
Separate calls to setvm reference and to set classloader
Cache JNIEnv
Use default class loader to obtain the ClassLoader for this NativeActivity
Actually obtain a reference to the Java class
Initialize Cocos2dxHelper from JNI. Call System.loadLibrary() in Java so functions implemented in native code are available from Java.
Initialize JniHelper with the Acitivity. Load the native library that is specified in the Activity's meta-data.
Remove spurious LOGI (use appropriate LOG_RENDER_DEBUG in its place.)
Use getInstance() instead of various deprecated singleton access methods