diff options
author | Scott Main <smain@google.com> | 2011-10-18 10:17:17 -0700 |
---|---|---|
committer | Scott Main <smain@google.com> | 2011-10-18 10:17:17 -0700 |
commit | 63fcb397a2583255ec4a0f5e5d8c4c124c272616 (patch) | |
tree | 6c85e539db5493fa202f26836551154d92d5d75c /wifi/java/android/net/wifi/package.html | |
parent | 11116b80d88b72e14e4f6b7ad3ab312096f8eea5 (diff) | |
download | frameworks_base-63fcb397a2583255ec4a0f5e5d8c4c124c272616.zip frameworks_base-63fcb397a2583255ec4a0f5e5d8c4c124c272616.tar.gz frameworks_base-63fcb397a2583255ec4a0f5e5d8c4c124c272616.tar.bz2 |
docs: add package description for wifi.p2p and update the one for wifi
Change-Id: Iaf80f9640a4d56100e22d93954edd8aeb5ea4d2b
Diffstat (limited to 'wifi/java/android/net/wifi/package.html')
-rw-r--r-- | wifi/java/android/net/wifi/package.html | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/wifi/java/android/net/wifi/package.html b/wifi/java/android/net/wifi/package.html index 530313d..6f0d337 100644 --- a/wifi/java/android/net/wifi/package.html +++ b/wifi/java/android/net/wifi/package.html @@ -1,12 +1,29 @@ <HTML> <BODY> -Provides classes to manage Wi-Fi functionality on the device. +<p>Provides classes to manage Wi-Fi functionality on the device.</p> <p>The Wi-Fi APIs provide a means by which applications can communicate with the lower-level wireless stack that provides Wi-Fi network access. Almost all information from the device supplicant is available, including the connected network's link speed, IP address, negotiation state, and more, plus information about other networks that are available. Some other API features include the ability to scan, add, save, terminate and initiate Wi-Fi connections.</p> -<p>Remember, not all Android devices are guaranteed to have Wi-Fi functionality.</p> + +<p>Some APIs may require the following user permissions:</p> +<ul> + <li>{@link android.Manifest.permission#ACCESS_WIFI_STATE}</li> + <li>{@link android.Manifest.permission#CHANGE_WIFI_STATE}</li> + <li>{@link android.Manifest.permission#CHANGE_WIFI_MULTICAST_STATE}</li> +</ul> + +<p class="note"><strong>Note:</strong> Not all Android-powered devices provide Wi-Fi functionality. +If your application uses Wi-Fi, declare so with a <a +href="{@docRoot}guide/topics/manifest/uses-feature-element.html">{@code <uses-feature>}</a> +element in the manifest file:</p> +<pre> +<manifest ...> + <uses-feature android:name="android.hardware.wifi" /> + ... +</manifest> +</pre> </BODY> </HTML> |