diff --git a/docs/html/about/versions/android-4.0.jd b/docs/html/about/versions/android-4.0.jd index 2fa180c5ad171..c026534779c89 100644 --- a/docs/html/about/versions/android-4.0.jd +++ b/docs/html/about/versions/android-4.0.jd @@ -62,7 +62,7 @@ class="toggle-content-img" alt="" />
Android now supports Wi-Fi Direct for peer-to-peer (P2P) connections between Android-powered -devices and other device types without a hotspot or Internet connection. The Android framework +
Android now supports Wi-Fi peer-to-peer (P2P) connections between Android-powered +devices and other device types (in compliance with the Wi-Fi +Alliance's Wi-Fi Direct™ certification program) without a hotspot or Internet connection. The Android framework provides a set of Wi-Fi P2P APIs that allow you to discover and connect to other devices when each -device supports Wi-Fi Direct, then communicate over a speedy connection across distances much longer +device supports Wi-Fi P2P, then communicate over a speedy connection across distances much longer than a Bluetooth connection.
A new package, {@link android.net.wifi.p2p}, contains all the APIs for performing peer-to-peer @@ -669,7 +670,7 @@ formed and who is the group owner.
See the {@link android.net.wifi.p2p.WifiP2pManager} documentation for more information. Also -look at the Wi-Fi Direct Demo +look at the Wi-Fi P2P Demo sample application.
diff --git a/docs/html/about/versions/android-4.1.jd b/docs/html/about/versions/android-4.1.jd index d4b9ebfee460a..76b90acdeb600 100644 --- a/docs/html/about/versions/android-4.1.jd +++ b/docs/html/about/versions/android-4.1.jd @@ -41,7 +41,7 @@ sdk.platform.apiLevel=16The Wi-Fi Direct APIs are enhanced in Android 4.1 to support pre-association service discovery in +
The Wi-Fi P2P APIs are enhanced in Android 4.1 to support pre-association service discovery in the {@link android.net.wifi.p2p.WifiP2pManager}. This allows you to discover and filter nearby -devices by services using Wi-Fi Direct before connecting to one, while Network Service +devices by services using Wi-Fi P2P before connecting to one, while Network Service Discovery allows you to discover a service on an existing connected network (such as a local Wi-Fi network).
diff --git a/docs/html/guide/guide_toc.cs b/docs/html/guide/guide_toc.cs index 2a313748744a0..21d295a7ecff3 100644 --- a/docs/html/guide/guide_toc.cs +++ b/docs/html/guide/guide_toc.cs @@ -408,7 +408,7 @@Wi-Fi Direct allows Android 4.0 (API level 14) or later devices with the appropriate hardware - to connect directly to each other via Wi-Fi without an intermediate access point. - Using these APIs, you can discover and connect to other devices when each device supports Wi-Fi Direct, - then communicate over a speedy connection across distances much longer than a Bluetooth connection. - This is useful for applications that share data among users, such as a multiplayer game or - a photo sharing application.
-The Wi-Fi Direct APIs consist of the following main parts:
+Wi-Fi peer-to-peer (P2P) allows Android 4.0 (API level 14) or later devices with the appropriate +hardware to connect directly to each other via Wi-Fi without an intermediate access point (Android's +Wi-Fi P2P framework complies with the Wi-Fi Alliance's Wi-Fi Direct™ certification program). +Using these APIs, you can discover and connect to other devices when each device supports Wi-Fi P2P, +then communicate over a speedy connection across distances much longer than a Bluetooth connection. +This is useful for applications that share data among users, such as a multiplayer game or +a photo sharing application.
+ +The Wi-Fi P2P APIs consist of the following main parts:
Table 1.Wi-Fi Direct Methods
+Table 1.Wi-Fi P2P Methods
| {@link android.net.wifi.p2p.WifiP2pManager#initialize initialize()} | -Registers the application with the Wi-Fi framework. This must be called before calling any other Wi-Fi Direct method. | +Registers the application with the Wi-Fi framework. This must be called before calling any other Wi-Fi P2P method. | |
The Wi-Fi Direct APIs define intents that are broadcast when certain Wi-Fi Direct events happen, +
The Wi-Fi P2P APIs define intents that are broadcast when certain Wi-Fi P2P events happen, such as when a new peer is discovered or when a device's Wi-Fi state changes. You can register to receive these intents in your application by creating a broadcast receiver that handles these intents:
-Table 3. Wi-Fi Direct Intents
+Table 3. Wi-Fi P2P Intents
| {@link android.net.wifi.p2p.WifiP2pManager#WIFI_P2P_STATE_CHANGED_ACTION} | -Broadcast when Wi-Fi Direct is enabled or disabled on the device. | +Broadcast when Wi-Fi P2P is enabled or disabled on the device. |
| {@link android.net.wifi.p2p.WifiP2pManager#WIFI_P2P_THIS_DEVICE_CHANGED_ACTION} | @@ -204,11 +207,11 @@ page.tags="wireless","WifiP2pManager" -