Wi-Fi Easy Connect
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
Android 10(API レベル 29)以降のデバイスでは、Easy Connect を使用してピアデバイスの Wi-Fi 認証情報をプロビジョニングできます。これは Android 9 でサポートが終了した WPS に代わるものです。アプリは ACTION_PROCESS_WIFI_EASY_CONNECT_URI
インテントを使用することで、セットアップとプロビジョニングのフローに Easy Connect を統合できます。このインテントには URI が必要です。呼び出し元のアプリはステッカーや表示から QR コードをスキャンしたり、Bluetooth LE や NFC の広告からスキャンしたりといったさまざまな方法で URI を取得できます。
URI を取得したら、ACTION_PROCESS_WIFI_EASY_CONNECT_URI
インテントを指定してピアデバイスの Wi-Fi 認証情報をプロビジョニングできます。これにより、ユーザーは、認証情報を共有して安全に転送する Wi-Fi ネットワークを選択することができます。
Easy Connect には、位置情報または Wi-Fi の利用許可は必要ありません。
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は Oracle および関連会社の商標または登録商標です。
最終更新日 2025-08-27 UTC。
[null,null,["最終更新日 2025-08-27 UTC。"],[],[],null,["On Android 10 (API level 29) and higher devices, you can use Easy Connect to provision\nWi-Fi credentials to a peer device, as a replacement of WPS which was\ndeprecated in Android 9. Apps can integrate\nEasy Connect into their setup and provisioning flow by using the\n[`ACTION_PROCESS_WIFI_EASY_CONNECT_URI`](/reference/android/provider/Settings#ACTION_PROCESS_WIFI_EASY_CONNECT_URI)\nintent. This intent requires a URI. The calling app can retrieve the URI through\nvarious methods, including scanning a QR code from a sticker or display, or\nthrough scanning Bluetooth LE or NFC advertisements.\n\nOnce the URI is available, you can provision the peer device's Wi-Fi credentials\nwith the `ACTION_PROCESS_WIFI_EASY_CONNECT_URI` intent. This allows the\nuser to select a Wi-Fi network to share and securely transfer the credentials.\n\nEasy Connect does not require Location or Wi-Fi permissions.\n| **Note:** Before using this intent, the app *must* verify that Easy Connect is supported on the device by calling [`WifiManager.isEasyConnectSupported()`](/reference/android/net/wifi/WifiManager#isEasyConnectSupported())."]]