Wi-Fi Easy Connect
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ในอุปกรณ์ Android 10 (API ระดับ 29) ขึ้นไป คุณสามารถใช้ Easy Connect เพื่อจัดสรร
ข้อมูลเข้าสู่ระบบ Wi-Fi ให้กับอุปกรณ์ที่เชื่อมต่อได้ ซึ่งเป็นการแทนที่ WPS ที่
เลิกใช้งานไปแล้วใน Android 9 แอปสามารถผสานรวม
การเชื่อมต่อที่ง่ายดายเข้ากับขั้นตอนการตั้งค่าและการจัดสรรได้โดยใช้
Intent ของ ACTION_PROCESS_WIFI_EASY_CONNECT_URI
Intent นี้ต้องใช้ URI แอปการโทรสามารถดึง URI ผ่านวิธีการต่างๆ ได้ เช่น การสแกนคิวอาร์โค้ดจากสติกเกอร์หรือจอแสดงผล หรือผ่านการสแกนโฆษณา Bluetooth LE หรือ NFC
เมื่อ URI พร้อมใช้งานแล้ว คุณจะจัดสรรข้อมูลเข้าสู่ระบบ Wi-Fi ของอุปกรณ์ที่เชื่อมต่อ
ด้วย Intent ACTION_PROCESS_WIFI_EASY_CONNECT_URI
ได้ ซึ่งจะช่วยให้
ผู้ใช้เลือกเครือข่าย Wi-Fi ที่จะแชร์และโอนข้อมูลเข้าสู่ระบบได้อย่างปลอดภัย
Easy Connect ไม่ต้องใช้สิทธิ์เข้าถึงตำแหน่งหรือ Wi-Fi
ตัวอย่างเนื้อหาและโค้ดในหน้าเว็บนี้ขึ้นอยู่กับใบอนุญาตที่อธิบายไว้ในใบอนุญาตการใช้เนื้อหา Java และ OpenJDK เป็นเครื่องหมายการค้าหรือเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-08-27 UTC
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 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())."]]