diff options
author | Loic Blot <loic.blot@unix-experience.fr> | 2015-03-14 19:57:21 +0100 |
---|---|---|
committer | Loic Blot <loic.blot@unix-experience.fr> | 2015-03-14 19:57:21 +0100 |
commit | b12f569fc6b78c1e657bc0cfd8518b997d5f83c7 (patch) | |
tree | d6dc279b1e46752ed95922dedfc813fd9da85506 /src/porting_android.cpp | |
parent | 7993a403f2c17a215e4895ba1848aaf69bb61980 (diff) | |
download | minetest-b12f569fc6b78c1e657bc0cfd8518b997d5f83c7.tar.gz minetest-b12f569fc6b78c1e657bc0cfd8518b997d5f83c7.tar.bz2 minetest-b12f569fc6b78c1e657bc0cfd8518b997d5f83c7.zip |
Releasing android
Diffstat (limited to 'src/porting_android.cpp')
-rw-r--r-- | src/porting_android.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/porting_android.cpp b/src/porting_android.cpp index 96c9385a6..6871ce465 100644 --- a/src/porting_android.cpp +++ b/src/porting_android.cpp @@ -71,10 +71,10 @@ void android_main(android_app *app) /* TODO this doesn't work as expected, no idea why but there's a workaround */ /* for it right now */ extern "C" { - JNIEXPORT void JNICALL Java_org_minetest_MtNativeActivity_putMessageBoxResult( + JNIEXPORT void JNICALL Java_net_minetest_MtNativeActivity_putMessageBoxResult( JNIEnv * env, jclass thiz, jstring text) { - errorstream << "Java_org_minetest_MtNativeActivity_putMessageBoxResult got: " + errorstream << "Java_net_minetest_MtNativeActivity_putMessageBoxResult got: " << std::string((const char*)env->GetStringChars(text,0)) << std::endl; } @@ -138,7 +138,7 @@ void initAndroid() exit(-1); } - nativeActivity = findClass("org/minetest/minetest/MtNativeActivity"); + nativeActivity = findClass("net/minetest/minetest/MtNativeActivity"); if (nativeActivity == 0) { errorstream << "porting::initAndroid unable to find java native activity class" << |