summaryrefslogtreecommitdiff
path: root/same-android/src
diff options
context:
space:
mode:
authorKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-02-13 20:30:38 +0100
committerKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-02-13 20:30:38 +0100
commitfb10557897af3254708d928d3fad19dd20db14af (patch)
treec88a7b0071f40f23e51099f13694a174826f7cb2 /same-android/src
parent5bc18853d378e8d6c6f965a3e16f1c388cfb8210 (diff)
Fix focus problem.
Diffstat (limited to 'same-android/src')
-rw-r--r--same-android/src/main/java/com/orbekk/SameControllerActivity.java3
1 files changed, 2 insertions, 1 deletions
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);