summaryrefslogtreecommitdiff
path: root/same-android/src/main/java/com/orbekk/SameControllerActivity.java
diff options
context:
space:
mode:
Diffstat (limited to 'same-android/src/main/java/com/orbekk/SameControllerActivity.java')
-rw-r--r--same-android/src/main/java/com/orbekk/SameControllerActivity.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/same-android/src/main/java/com/orbekk/SameControllerActivity.java b/same-android/src/main/java/com/orbekk/SameControllerActivity.java
index fb9b103..76e6416 100644
--- a/same-android/src/main/java/com/orbekk/SameControllerActivity.java
+++ b/same-android/src/main/java/com/orbekk/SameControllerActivity.java
@@ -30,7 +30,7 @@ public class SameControllerActivity extends Activity {
Intent intent = new Intent(this, SameService.class);
intent.setAction("join");
// InetAddress address = new Broadcaster(this).getBroadcastAddress();
- EditText t = (EditText)findViewById(R.id.editText1);
+ EditText t = (EditText)findViewById(R.id.master_service_url);
intent.putExtra("masterUrl", t.getText().toString());
startService(intent);
}
@@ -42,7 +42,7 @@ public class SameControllerActivity extends Activity {
}
private void showBroadcastAddress() {
- EditText t = (EditText)findViewById(R.id.editText1);
+ EditText t = (EditText)findViewById(R.id.master_service_url);
t.setText(new Broadcaster(this).getBroadcastAddress().getHostAddress());
}