summaryrefslogtreecommitdiff
path: root/same-android/src/main
diff options
context:
space:
mode:
authorKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-02-14 10:25:17 +0100
committerKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-02-14 10:25:17 +0100
commit4de25e837653bacee4a5fd6bb8e3ce49e075805a (patch)
treecce3cf8db3106f4477e6b60859f54d795323083f /same-android/src/main
parentd2e1ca62a837b987fd4ff8302b422541148ed6af (diff)
Enable discovery in Android app.
Diffstat (limited to 'same-android/src/main')
-rw-r--r--same-android/src/main/java/com/orbekk/same/SameService.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/same-android/src/main/java/com/orbekk/same/SameService.java b/same-android/src/main/java/com/orbekk/same/SameService.java
index f4cf3e2..ba29585 100644
--- a/same-android/src/main/java/com/orbekk/same/SameService.java
+++ b/same-android/src/main/java/com/orbekk/same/SameService.java
@@ -79,6 +79,7 @@ public class SameService extends Service {
properties.setProperty("localIp",
new Broadcaster(this).getWlanAddress().getHostAddress());
properties.setProperty("masterUrl", "http://10.0.0.6:10010/MasterService.json");
+ properties.setProperty("enableDiscovery", "true");
properties.setProperty("discoveryPort", ""+DISCOVERY_PORT);
configuration = new Configuration(properties);
}