summaryrefslogtreecommitdiff
path: root/same-android/src
diff options
context:
space:
mode:
authorKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-02-13 20:35:04 +0100
committerKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-02-13 20:35:04 +0100
commit75ad1ddbe423ecd9a6c16c3754ff8def4704fa1c (patch)
tree4d5fdb9a399354a28c4b3f3c07c243550fedcd13 /same-android/src
parentfb10557897af3254708d928d3fad19dd20db14af (diff)
Remove unused code.
Diffstat (limited to 'same-android/src')
-rw-r--r--same-android/src/main/java/com/orbekk/SameControllerActivity.java8
1 files changed, 0 insertions, 8 deletions
diff --git a/same-android/src/main/java/com/orbekk/SameControllerActivity.java b/same-android/src/main/java/com/orbekk/SameControllerActivity.java
index cbc73e4..a6d6e75 100644
--- a/same-android/src/main/java/com/orbekk/SameControllerActivity.java
+++ b/same-android/src/main/java/com/orbekk/SameControllerActivity.java
@@ -1,6 +1,5 @@
package com.orbekk;
-import java.net.InetAddress;
import java.util.ArrayList;
import org.slf4j.Logger;
@@ -25,7 +24,6 @@ import android.widget.ArrayAdapter;
import android.widget.EditText;
import android.widget.ListView;
import android.widget.TextView;
-import android.widget.Toast;
public class SameControllerActivity extends Activity {
private Logger logger = LoggerFactory.getLogger(getClass());
@@ -80,11 +78,6 @@ public class SameControllerActivity extends Activity {
t.append(new Broadcaster(this).getWlanAddress().getHostAddress());
}
- private void showBroadcastAddress() {
- EditText t = (EditText)findViewById(R.id.master_service_url);
- t.setText(new Broadcaster(this).getBroadcastAddress().getHostAddress());
- }
-
public void doneClicked(View unused) {
finish();
}
@@ -113,7 +106,6 @@ public class SameControllerActivity extends Activity {
@Override public void onResume() {
super.onResume();
- TextView tv = new TextView(this);
Intent intent = new Intent(this, SameService.class);
bindService(intent, sameConnection, Context.BIND_AUTO_CREATE);