Tổng quan về thiết bị chuyên dụng
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Android có các API để quản lý các thiết bị dành riêng cho một mục đích cụ thể.
Hướng dẫn dành cho nhà phát triển này giới thiệu các API này. Nếu bạn là nhà phát triển hoặc nhà phát triển giải pháp quản lý di động dành cho doanh nghiệp (EMM) hoặc nhà tích hợp giải pháp, hãy đọc hướng dẫn này để bắt đầu.
Thiết bị chuyên dụng được sử dụng ở đâu?
Thiết bị chuyên dụng (trước đây gọi là thiết bị dùng một lần do công ty sở hữu hay COSU) là các thiết bị được quản lý hoàn toàn và phục vụ một mục đích cụ thể. Android cung cấp các API có thể giúp bạn tạo thiết bị đáp ứng nhu cầu cụ thể của nhân viên và khách hàng:
- Dành cho nhân viên: Quản lý kho hàng, quản lý dịch vụ tại hiện trường, vận chuyển và kho vận
- Dành cho khách hàng: Ki-ốt, bảng hiệu kỹ thuật số, dịch vụ phục vụ ăn uống tại nhà hàng
Tính năng chuyên dụng của thiết bị
Android có các API để giúp người dùng thiết bị chuyên dụng tập trung vào công việc của họ. Bạn thường gọi các API này từ một ứng dụng tuỳ chỉnh trên màn hình chính mà bạn phát triển. Ứng dụng tuỳ chỉnh trên màn hình chính có thể sử dụng một số hoặc tất cả các API sau:
Để gọi những API này, ứng dụng cần phải là quản trị viên của thiết bị được quản lý hoàn toàn – được giải thích trong phần sau.
Thiết bị được quản lý
Vì các thiết bị chuyên dụng có thể không được giám sát hoặc được dùng trong các tác vụ quan trọng, nên bạn cần phải bảo mật thiết bị. Để ngăn chặn hành vi sử dụng sai mục đích, các thiết bị chuyên dụng được quản lý hoàn toàn và thuộc sở hữu của một thành phần quản trị viên (thành phần quản trị viên cũng thường quản lý người dùng). Hoạt động triển khai được quản lý toàn diện dành cho các thiết bị thuộc quyền sở hữu của công ty và dùng riêng cho mục đích công việc. Để tìm hiểu thêm về hoạt động quản lý thiết bị Android, hãy đọc hướng dẫn Tổng quan về Android Enterprise.
Tuỳ thuộc vào nhu cầu của giải pháp và mục tiêu kinh doanh, bạn có thể quản lý thiết bị theo một trong những cách sau:
Kiểm thử
Nếu bạn dự định hỗ trợ EMM của bên thứ ba, hãy phát triển một kế hoạch thử nghiệm toàn diện bằng giải pháp của EMM.
Chúng tôi cũng cung cấp các tài nguyên sau đây mà bạn có thể sử dụng để tạo môi trường phát triển hoặc kiểm thử của riêng mình:
Trong khi vẫn đang phát triển, bạn có thể đặt ứng dụng làm quản trị viên của một thiết bị được quản lý toàn bộ bằng cách sử dụng Cầu gỡ lỗi Android (ADB).
Cấp phép cho các thiết bị chuyên dụng
Khi phát triển xong giải pháp, bạn có thể cấp phép cho các thiết bị Android hoặc thiết lập thiết bị để quản lý. Để cấp phép cho một thiết bị, hãy hoàn tất các bước sau:
- Đặt lại thiết bị về trạng thái ban đầu.
Đăng ký thiết bị. Bạn nên sử dụng mã QR có chứa cấu hình cấp phép cho thiết bị. Sau đó, quản trị viên CNTT có thể quét mã này để cấp phép cho thiết bị.
Nếu không thể sử dụng mã QR, bạn có thể đăng ký thiết bị bằng các phương thức khác, chẳng hạn như chạm NFC hoặc bằng cách nhập giá trị nhận dạng.
Tài liệu
Tài nguyên khác
Để tìm hiểu thêm về cách bắt đầu sử dụng thiết bị chuyên dụng, hãy đọc các tài liệu sau:
Nội dung và mã mẫu trên trang này phải tuân thủ các giấy phép như mô tả trong phần Giấy phép nội dung. Java và OpenJDK là nhãn hiệu hoặc nhãn hiệu đã đăng ký của Oracle và/hoặc đơn vị liên kết của Oracle.
Cập nhật lần gần đây nhất: 2025-07-26 UTC.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 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."]]