diff options
Diffstat (limited to 'same-android/src/main/java/com/orbekk/HelloAndroidActivity.java')
-rw-r--r-- | same-android/src/main/java/com/orbekk/HelloAndroidActivity.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/same-android/src/main/java/com/orbekk/HelloAndroidActivity.java b/same-android/src/main/java/com/orbekk/HelloAndroidActivity.java index e27f941..090d719 100644 --- a/same-android/src/main/java/com/orbekk/HelloAndroidActivity.java +++ b/same-android/src/main/java/com/orbekk/HelloAndroidActivity.java @@ -31,7 +31,7 @@ public class HelloAndroidActivity extends Activity { intent.setAction("join"); // InetAddress address = new Broadcaster(this).getBroadcastAddress(); EditText t = (EditText)findViewById(R.id.editText1); - intent.putExtra("ip", t.getText().toString()); + intent.putExtra("masterUrl", t.getText().toString()); startService(intent); } @@ -61,7 +61,7 @@ public class HelloAndroidActivity extends Activity { setContentView(R.layout.main); showIpAddress(); - showBroadcastAddress(); + // showBroadcastAddress(); // ClientApp client = new ClientApp(); // SameInterface client_ = client.getClient(10015, "ClientNetwork", |