Releasing android

This commit is contained in:
Loic Blot 2015-03-14 19:57:21 +01:00
parent 7993a403f2
commit b12f569fc6
6 changed files with 8 additions and 8 deletions

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.minetest.minetest"
package="net.minetest.minetest"
android:versionCode="###ANDROID_VERSION###"
android:versionName="###BASE_VERSION###.###ANDROID_VERSION###"
android:installLocation="auto">

@ -26,7 +26,7 @@ GAMES_TO_COPY = minetest_game
# Android Version code
# Increase for each build!
################################################################################
ANDROID_VERSION_CODE = 6
ANDROID_VERSION_CODE = 10
################################################################################
# toolchain config for arm old processors

@ -1,4 +1,4 @@
package org.minetest.minetest;
package net.minetest.minetest;
import java.io.BufferedReader;
import java.io.File;

@ -1,4 +1,4 @@
package org.minetest.minetest;
package net.minetest.minetest;
import android.app.Activity;
import android.app.AlertDialog;

@ -1,4 +1,4 @@
package org.minetest.minetest;
package net.minetest.minetest;
import android.app.NativeActivity;
import android.content.Intent;

@ -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" <<