Android: I'm probably using a lot of bad practices, but the app looks somewhat better now and polls the server status
Android: Put quite some testing code in ToJava.h and app-android.cpp ... I still can't send log messages to Java. The issue is threads, I can't use JNI stuff from threads that were not created by Java (at least not easily) git-svn-id: http://mc-server.googlecode.com/svn/trunk@752 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
@@ -14,7 +14,12 @@ public final class R {
|
||||
public static final int ic_launcher=0x7f020000;
|
||||
}
|
||||
public static final class id {
|
||||
public static final int ip_address=0x7f050005;
|
||||
public static final int server_status_text=0x7f050004;
|
||||
public static final int start_server=0x7f050002;
|
||||
public static final int stop_server=0x7f050003;
|
||||
public static final int textView1=0x7f050000;
|
||||
public static final int textView2=0x7f050001;
|
||||
}
|
||||
public static final class layout {
|
||||
public static final int main=0x7f030000;
|
||||
@@ -22,5 +27,10 @@ public final class R {
|
||||
public static final class string {
|
||||
public static final int app_name=0x7f040001;
|
||||
public static final int hello=0x7f040000;
|
||||
public static final int mcserver_is_not_running=0x7f040005;
|
||||
public static final int mcserver_is_running=0x7f040004;
|
||||
public static final int start=0x7f040002;
|
||||
public static final int stop=0x7f040003;
|
||||
public static final int your_ip=0x7f040006;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user