From 562a2bb164ca69c54fe328493f1bdac2af383d44 Mon Sep 17 00:00:00 2001 From: Branden Archer Date: Fri, 1 Jan 2016 14:03:56 -0500 Subject: [PATCH] Initial attempt at pairing with child device with address/port On some networks or some mDNS implementations child discovery may not work well. As an alternative, allow a parent to connect to a device directly with an IP Address and port. --- AndroidManifest.xml | 1 + res/layout/activity_discover.xml | 58 +++++++++++++++++++ res/values/strings.xml | 5 ++ src/protect/babymonitor/DiscoverActivity.java | 55 +++++++++++++++--- 4 files changed, 112 insertions(+), 7 deletions(-) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 7fe6b8c..a169371 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -36,6 +36,7 @@ android:name="protect.babymonitor.DiscoverActivity" android:label="@string/app_name" android:configChanges="orientation|screenSize" + android:windowSoftInputMode="adjustPan" android:parentActivityName="protect.babymonitor.StartActivity" /> + + + + + + + + + + + + + + +