From 4de25e837653bacee4a5fd6bb8e3ce49e075805a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjetil=20=C3=98rbekk?= Date: Tue, 14 Feb 2012 10:25:17 +0100 Subject: Enable discovery in Android app. --- same-android/src/main/java/com/orbekk/same/SameService.java | 1 + 1 file changed, 1 insertion(+) (limited to 'same-android') 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); } -- cgit v1.2.3