From 536c3d7651d0e37b13b5ee655c215207a39dff7d Mon Sep 17 00:00:00 2001 From: Irfan Sheriff Date: Tue, 17 Apr 2012 23:17:46 -0700 Subject: [PATCH] Add Nsd settings checkbox Change-Id: I58e54a8bed02ed7bd99b0f284279b6c799e3369f --- res/values/strings.xml | 6 ++ res/xml/wireless_settings.xml | 6 ++ src/com/android/settings/NsdEnabler.java | 87 +++++++++++++++++++ .../android/settings/WirelessSettings.java | 7 ++ 4 files changed, 106 insertions(+) create mode 100644 src/com/android/settings/NsdEnabler.java diff --git a/res/values/strings.xml b/res/values/strings.xml index 28e9e46c0eb..39596baed32 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -1155,6 +1155,12 @@ When this feature is turned on, you can beam app content to another NFC-capable device by holding the devices close together. For example, you can beam Browser pages, YouTube videos, People contacts, and more.\n\nJust bring the devices together (typically back to back) and then touch your screen. The app determines what gets beamed. + + + Network service discovery + + Allow apps on other devices to discover apps on this device + Wi-Fi diff --git a/res/xml/wireless_settings.xml b/res/xml/wireless_settings.xml index 8531b3e5192..866a6173dbb 100644 --- a/res/xml/wireless_settings.xml +++ b/res/xml/wireless_settings.xml @@ -64,6 +64,12 @@ android:targetClass="com.android.phone.MobileNetworkSettings" /> + +