From fb10557897af3254708d928d3fad19dd20db14af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjetil=20=C3=98rbekk?= Date: Mon, 13 Feb 2012 20:30:38 +0100 Subject: Fix focus problem. --- same-android/src/main/java/com/orbekk/SameControllerActivity.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'same-android/src/main/java') diff --git a/same-android/src/main/java/com/orbekk/SameControllerActivity.java b/same-android/src/main/java/com/orbekk/SameControllerActivity.java index 4fb1424..cbc73e4 100644 --- a/same-android/src/main/java/com/orbekk/SameControllerActivity.java +++ b/same-android/src/main/java/com/orbekk/SameControllerActivity.java @@ -110,9 +110,10 @@ public class SameControllerActivity extends Activity { showIpAddress(); } - @Override public void onStart() { + @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); -- cgit v1.2.3