android/testproject/jni/app-android.cpp
changeset 4712 8319aa8fa4dc
parent 4711 ed040b480a9f
child 4713 ba38983b10c2
     1.1 --- a/android/testproject/jni/app-android.cpp	Tue Jun 29 00:40:12 2010 +1200
     1.2 +++ b/android/testproject/jni/app-android.cpp	Tue Jun 29 01:30:11 2010 +1200
     1.3 @@ -41,7 +41,7 @@
     1.4                   Functions called by JNI
     1.5  *******************************************************************************/	
     1.6  
     1.7 -extern "C" void Java_org_libsdl_android_TestActivity_nativeInit( JNIEnv*  env, jobject obj )
     1.8 +extern "C" void Java_org_libsdl_android_SDLActivity_nativeInit( JNIEnv*  env, jobject obj )
     1.9  {    
    1.10  	__android_log_print(ANDROID_LOG_INFO, "SDL", "JNI: NativeInit");
    1.11  
    1.12 @@ -63,7 +63,7 @@
    1.13  
    1.14      __android_log_print(ANDROID_LOG_INFO, "SDL", "JNI: OnLoad");
    1.15  
    1.16 -    jclass cls = mEnv->FindClass ("org/libsdl/android/TestActivity"); 
    1.17 +    jclass cls = mEnv->FindClass ("org/libsdl/android/SDLActivity"); 
    1.18      mActivityInstance = cls;
    1.19      midCreateGLContext = mEnv->GetStaticMethodID(cls,"createGLContext","()V");
    1.20      midFlipBuffers = mEnv->GetStaticMethodID(cls,"flipBuffers","()V");