summaryrefslogtreecommitdiff
path: root/same-android/src/main/java/com
diff options
context:
space:
mode:
Diffstat (limited to 'same-android/src/main/java/com')
-rw-r--r--same-android/src/main/java/com/orbekk/same/android/ClientInterfaceBridge.java7
-rw-r--r--same-android/src/main/java/com/orbekk/same/android/StateViewerActivity.java4
2 files changed, 8 insertions, 3 deletions
diff --git a/same-android/src/main/java/com/orbekk/same/android/ClientInterfaceBridge.java b/same-android/src/main/java/com/orbekk/same/android/ClientInterfaceBridge.java
index 081b7ed..47a6535 100644
--- a/same-android/src/main/java/com/orbekk/same/android/ClientInterfaceBridge.java
+++ b/same-android/src/main/java/com/orbekk/same/android/ClientInterfaceBridge.java
@@ -18,6 +18,7 @@ import android.os.Messenger;
import android.os.RemoteException;
import com.orbekk.same.ClientInterface;
+import com.orbekk.same.ConnectionState;
import com.orbekk.same.State;
import com.orbekk.same.State.Component;
import com.orbekk.same.StateChangedListener;
@@ -193,4 +194,10 @@ public class ClientInterfaceBridge implements ClientInterface {
return VariableFactory.create(this);
}
+ /** Doesn't work yet. Maybe we needs a listener interface? */
+ @Override
+ public ConnectionState getConnectionState() {
+ return null;
+ }
+
}
diff --git a/same-android/src/main/java/com/orbekk/same/android/StateViewerActivity.java b/same-android/src/main/java/com/orbekk/same/android/StateViewerActivity.java
index 679e3b6..fac73c0 100644
--- a/same-android/src/main/java/com/orbekk/same/android/StateViewerActivity.java
+++ b/same-android/src/main/java/com/orbekk/same/android/StateViewerActivity.java
@@ -9,12 +9,10 @@ import android.app.Activity;
import android.os.Bundle;
import android.widget.ArrayAdapter;
import android.widget.ListView;
-import android.widget.Toast;
-import com.orbekk.same.android.R;
import com.orbekk.same.State;
-import com.orbekk.same.StateChangedListener;
import com.orbekk.same.State.Component;
+import com.orbekk.same.StateChangedListener;
public class StateViewerActivity extends Activity {
private Logger logger = LoggerFactory.getLogger(getClass());