ภาพรวมอุปกรณ์เฉพาะ
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
Android มี API เพื่อจัดการอุปกรณ์ที่มีไว้เพื่อวัตถุประสงค์หนึ่งๆ โดยเฉพาะ
คู่มือสําหรับนักพัฒนาซอฟต์แวร์นี้จะอธิบาย API เหล่านี้ หากคุณเป็นนักพัฒนาซอฟต์แวร์หรือผู้ผสานรวมโซลูชัน Enterprise Mobility Management (EMM) โปรดอ่านคู่มือนี้เพื่อเริ่มต้นใช้งาน
อุปกรณ์เฉพาะมีไว้ใช้ที่ไหน
อุปกรณ์เฉพาะ (เดิมเรียกว่าอุปกรณ์แบบใช้งานครั้งเดียวของบริษัท หรือ COSU) คืออุปกรณ์ที่มีการจัดการอย่างเต็มรูปแบบเพื่อวัตถุประสงค์หนึ่งๆ โดยเฉพาะ Android มี API ที่ช่วยให้คุณสร้างอุปกรณ์ที่ตอบสนองความต้องการเฉพาะของพนักงานและลูกค้าได้ ดังนี้
- สำหรับพนักงาน: การจัดการสินค้าคงคลัง การจัดการบริการภาคสนาม การขนส่ง และโลจิสติกส์
- ที่แสดงต่อลูกค้า: คีออสก์ ป้ายดิจิทัล เช็คอินสำหรับงานต้อนรับ
ฟีเจอร์ของอุปกรณ์เฉพาะ
Android มี API เพื่อช่วยให้ผู้ที่ใช้อุปกรณ์เฉพาะทางมุ่งเน้นที่งานได้ โดยปกติแล้ว คุณเรียกใช้ API เหล่านี้จากแอปบ้านที่กำหนดเองซึ่งคุณพัฒนาขึ้น แอป Home ที่กําหนดเองสามารถใช้ API ต่อไปนี้ได้บางส่วนหรือทั้งหมด
หากต้องการเรียก API เหล่านี้ แอปต้องเป็นแอปผู้ดูแลของอุปกรณ์ที่มีการจัดการอย่างเต็มรูปแบบตามที่อธิบายไว้ในส่วนต่อไปนี้
อุปกรณ์ที่มีการจัดการ
เนื่องจากอุปกรณ์เฉพาะอาจไม่มีผู้ดูแลหรือใช้ในงานที่สําคัญ คุณจึงต้องรักษาความปลอดภัยให้อุปกรณ์ อุปกรณ์เฉพาะจะมีการจัดการอย่างเต็มรูปแบบและคอมโพเนนต์ผู้ดูแลระบบเป็นเจ้าของ (โดยปกติแล้วคอมโพเนนต์ผู้ดูแลระบบจะจัดการผู้ใช้ด้วย) เพื่อป้องกันการใช้ในทางที่ผิด การติดตั้งใช้งานที่มีการจัดการครบวงจรมีไว้สำหรับอุปกรณ์ของบริษัทที่ใช้เพื่อวัตถุประสงค์ในการทำงานเท่านั้น ดูข้อมูลเพิ่มเติมเกี่ยวกับการจัดการอุปกรณ์ Android ได้ที่คู่มือภาพรวมของ Android Enterprise
คุณจัดการอุปกรณ์ได้ 1 ใน 2 วิธีต่อไปนี้ โดยขึ้นอยู่กับความต้องการด้านโซลูชันและเป้าหมายทางธุรกิจ
การทดสอบ
หากวางแผนที่จะรองรับ EMM ของบุคคลที่สาม ให้พัฒนาแผนการทดสอบจากต้นทางถึงปลายทางโดยใช้โซลูชันของ EMM
นอกจากนี้ เรายังมีแหล่งข้อมูลต่อไปนี้ซึ่งคุณใช้สร้างสภาพแวดล้อมการพัฒนาหรือทดสอบของคุณเองได้
ขณะพัฒนาแอป คุณสามารถตั้งค่าแอปเป็นผู้ดูแลระบบของอุปกรณ์ที่มีการจัดการครบวงจรได้โดยใช้ Android Debug Bridge (ADB)
จัดสรรอุปกรณ์เฉพาะ
เมื่อพัฒนาโซลูชันเสร็จแล้ว คุณก็พร้อมที่จะจัดสรรอุปกรณ์ Android หรือตั้งค่าอุปกรณ์เพื่อการจัดการ หากต้องการจัดสรรอุปกรณ์ ให้ทำตามขั้นตอนต่อไปนี้
- รีเซ็ตอุปกรณ์เป็นค่าเริ่มต้น
ลงทะเบียนอุปกรณ์ เราขอแนะนำให้ใช้คิวอาร์โค้ดที่มีการกำหนดค่าการจัดสรรสำหรับอุปกรณ์ จากนั้นผู้ดูแลระบบไอทีจะสแกนโค้ดเพื่อจัดสรรอุปกรณ์ได้
หากใช้คิวอาร์โค้ดไม่ได้ คุณสามารถลงทะเบียนอุปกรณ์ผ่านวิธีอื่นๆ เช่น การแตะ NFC หรือการป้อนตัวระบุ
เอกสาร
แหล่งข้อมูลเพิ่มเติม
หากต้องการดูข้อมูลเพิ่มเติมเกี่ยวกับการเริ่มต้นใช้งานอุปกรณ์เฉพาะ ให้อ่านเอกสารต่อไปนี้
ตัวอย่างเนื้อหาและโค้ดในหน้าเว็บนี้ขึ้นอยู่กับใบอนุญาตที่อธิบายไว้ในใบอนุญาตการใช้เนื้อหา Java และ OpenJDK เป็นเครื่องหมายการค้าหรือเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[],[],null,["# Dedicated devices overview\n\nAndroid includes APIs to manage devices that are dedicated to a specific purpose.\nThis developer's guide introduces these APIs. If you're an enterprise mobility\nmanagement (EMM) developer or solution integrator, read this guide to get\nstarted.\n\nWhere are dedicated devices used?\n---------------------------------\n\n*Dedicated devices* (formerly called corporate-owned single-use, or COSU) are\nfully managed devices that serve a specific purpose. Android provides APIs that\ncan help you create devices that cater to employee- and customer-specific needs:\n\n- **Employee-facing:** Inventory management, field service management, transport and logistics\n- **Customer-facing:** Kiosks, digital signage, hospitality check-in\n\nDedicated device features\n-------------------------\n\nAndroid includes APIs to help people using dedicated devices focus\non their tasks. You typically call these APIs from a custom home app that you\ndevelop. Your custom home app can use some, or all, of the following APIs:\n\n- Run the system in an immersive, kiosk-like fashion where devices are locked to an allowlisted set of apps using [lock task\n mode](/work/dpc/dedicated-devices/lock-task-mode).\n- Share a device between multiple users (such as shift workers or public-kiosk users) by [managing ephemeral and secondary\n users](/work/dpc/dedicated-devices/multiple-users).\n- Avoid devices downloading the same app again for each temporary user by [caching app packages](/work/dpc/dedicated-devices/cookbook#cache-apps).\n- Suspend over-the-air (OTA) system updates over critical periods by [freezing\n the operating system version](/work/dpc/system-updates#freeze-periods).\n\nTo call these APIs, apps need to be the admin of a fully managed\ndevice---explained in the following section.\n\nManaged devices\n---------------\n\nBecause dedicated devices might be left unattended or used in critical tasks,\nyou need to secure the device. To prevent misuse, dedicated devices are *fully\nmanaged* and owned by an [admin component](/reference/android/app/admin/DeviceAdminReceiver) (the admin component typically\nmanages the users too). Fully managed deployments are for company-owned devices\nthat are used exclusively for work purposes. To learn more about Android device\nmanagement, read the Android Enterprise [Overview](https://developers.google.com/android/work/overview) guide.\n\nDepending on your solution's needs and your business goals, you can manage the\ndevice in one of the following ways:\n\n- [Develop your own device policy controller (DPC)](/work/dpc/build-dpc), combining it with a [custom home app](#features).\n- Use the [Android Management\n API](https://developers.google.com/android/management/) to manage the device and any custom apps.\n- Use a [third-party EMM\n solution](https://androidenterprisepartners.withgoogle.com/emm/) that supports lock task mode and other dedicated device features.\n\nTesting\n-------\n\nIf you're planning to support a third-party EMM, develop an end-to-end testing\nplan using the EMM's solution.\n\nWe also provide the following resources, which you can\nuse to create your own development or test environment:\n\n- [Test DPC](https://play.google.com/store/search?q=testdpc) app on Google Play\n- [Dedicated device source\n code](https://github.com/googlesamples/android-testdpc/tree/master/src/main/java/com/afwsamples/testdpc/cosu) (Test DPC) on GitHub\n\nWhile you're still developing, you can [set your app as the\nadmin](/work/dpc/dedicated-devices/cookbook#dev-setup) of a fully managed device\nusing the Android Debug Bridge (ADB).\n\nProvision dedicated devices\n---------------------------\n\nWhen you've finished developing your solution, you're ready to *provision*\nAndroid devices, or set up the devices for management. To provision a device,\ncomplete the following steps:\n\n1. Factory reset the device.\n2. Enroll the device. We recommend [using a QR\n code](https://developers.google.com/android/work/prov-devices#qr_code_method)\n that contains a provisioning config for device. An IT admin can then scan the\n code to provision the device.\n\n If you cannot use a QR code, you can enroll devices through [other\n methods](https://developers.google.com/android/work/overview#device_and_work_profile_provisioning),\n such as NFC bumping or by entering an identifier.\n\nDocumentation\n-------------\n\nAdditional resources\n--------------------\n\nTo learn more about getting started with dedicated devices, read the following\ndocuments:\n\n- [Android Enterprise\n overview](https://developers.google.com/android/work/overview) that introduces device management.\n- [Build a device policy controller](/work/dpc/build-dpc) explains how to develop a DPC.\n- [Dedicated devices cookbook](/work/dpc/dedicated-devices/cookbook) gives examples for features typical of dedicated devices."]]