summaryrefslogtreecommitdiff
path: root/same-android/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'same-android/src/main')
-rw-r--r--same-android/src/main/java/com/orbekk/HelloAndroidActivity.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/same-android/src/main/java/com/orbekk/HelloAndroidActivity.java b/same-android/src/main/java/com/orbekk/HelloAndroidActivity.java
index 653a870..cc90a3a 100644
--- a/same-android/src/main/java/com/orbekk/HelloAndroidActivity.java
+++ b/same-android/src/main/java/com/orbekk/HelloAndroidActivity.java
@@ -25,16 +25,16 @@ public class HelloAndroidActivity extends Activity {
System.setProperty("java.net.preferIPv6Addresses", "false");
Log.i(TAG, "onCreate");
- setContentView(R.layout.main);
-
+ // setContentView(R.layout.main);
+ setContentView(new GameView(this));
// Broadcast broadcast = new Broadcast(this);
// broadcast.sendBroadcast("Broadcast test".getBytes(), 10010);
- Broadcaster broadcaster = new Broadcaster();
- Log.i(TAG, "Broadcast success: " + broadcaster.sendBroadcast(10010, "Broadcast test from Android".getBytes()));
-
- ClientApp client = new ClientApp();
- client.run(10015, "ClientNetwork", "http://10.0.0.6:10010/");
+// Broadcaster broadcaster = new Broadcaster();
+// Log.i(TAG, "Broadcast success: " + broadcaster.sendBroadcast(10010, "Broadcast test from Android".getBytes()));
+//
+// ClientApp client = new ClientApp();
+// client.run(10015, "ClientNetwork", "http://10.0.0.6:10010/");
}
@Override