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.
Thư viện đại lý Android chung là một thư viện Java tương tác với Samsung
Knox API và API Đại lý tự động để
cung cấp một công cụ tích hợp duy nhất cho Chương trình triển khai Knox của Samsung
(KDP) và các dịch vụ thiết lập tự động của Google.
KDP cho phép các nguồn được tin cậy
đại lý thiết bị để xác minh thiết bị Samsung cho khách hàng doanh nghiệp của họ đang sử dụng
Đăng ký Knox Mobile
(KME). Tương tự, quy trình thiết lập tự động cho phép khách hàng doanh nghiệp xác minh và
định cấu hình các thiết bị Android khác
mua từ đại lý thiết bị được uỷ quyền.
Đăng ký Samsung và các thiết bị Android khác bằng một tiện ích tích hợp duy nhất.
Thư viện đại lý chứa hai lớp nhà máy—một lớp
cho từng dịch vụ đăng ký. Các lớp nhà máy này chấp nhận tài khoản dịch vụ
các khoá được tạo qua cổng Knox Cloud API của Samsung và Bảng điều khiển API của Google để
cho phép thực hiện lệnh gọi đến Knox và API đại lý tự động đăng ký (để biết thêm thông tin chi tiết, hãy xem Bắt đầu).
Bạn sẽ dùng các lớp ban đầu này để tạo đối tượng ResellerService.
Một nhóm phương thức phổ biến là
có sẵn cho các đối tượng ResellerService, cho phép đại lý thực hiện các thao tác
chẳng hạn như chỉ định và bỏ chỉ định thiết bị cho khách hàng.
Sau khi đại lý sử dụng thư viện để gán thiết bị cho một khách hàng doanh nghiệp,
khách hàng có thể sử dụng cổng KME để tạo và áp dụng cấu hình cho Samsung
thiết bị và cổng thiết lập tự động để tạo và áp dụng cấu hình cho
trên các thiết bị Android khác.
Dành cho đối tượng nào
Thư viện đại lý Android chung dành cho những đại lý thiết bị chưa
được tích hợp với quy trình thiết lập tự động hoặc KDP.
Đại lý đã tích hợp với quy trình thiết lập tự động nên tích hợp với
KDP riêng biệt với
quản lý thiết bị Samsung.
Đại lý đã tích hợp với KDP
cần sử dụng API Đại lý của tự động đăng ký để
quản lý các thiết bị không phải của Samsung.
Ví dụ về quy trình làm việc
Dưới đây là quy trình làm việc mẫu về cách đại lý có thể sử dụng thư viện ứng dụng
để quản lý KDP và
thiết lập thiết bị tự động. Mã mẫu để thực hiện các tác vụ cơ bản
có trên bài viết Bắt đầu
và Các thao tác phổ biến.
Nhận đơn đặt hàng
Khách hàng doanh nghiệp gửi cho bạn một đơn đặt hàng. Đơn đặt hàng
chứa Samsung và các thiết bị Android khác.
Tạo mã khách hàng
Nếu đây là khách hàng mới, hãy sử dụng thư viện để:
Giờ đây, khách hàng có thể tạo cấu hình và áp dụng các cấu hình đó cho thiết bị của mình.
Thiết bị Samsung: khách hàng sử dụng
Đăng ký Knox Mobile
(KME) để tạo cấu hình và áp dụng cấu hình đó cho các thiết bị Samsung mà họ
được chỉ định ở Bước 4.
Các thiết bị Android khác: khách hàng sử dụng
Cổng thông tin tự động
để tạo các cấu hình và áp dụng chúng cho các thiết bị không phải Samsung mà chúng
giao trong Bước 4. Nếu EMM của khách hàng hỗ trợ việc cấp phép tự động đăng ký
trên thiết bị đăng ký, họ cũng có thể hoàn tất các tác vụ này trong EMM của mình
Google Play.
[null,null,["Cập nhật lần gần đây nhất: 2025-08-29 UTC."],[[["\u003cp\u003eThe Common Android Reseller Library is a Java library that provides a unified integration for both Samsung's Knox Deployment Program (KDP) and Google's zero-touch enrollment services.\u003c/p\u003e\n"],["\u003cp\u003eThis library simplifies the process for device resellers to manage Samsung and other Android devices, allowing them to use a single set of tools for device assignment.\u003c/p\u003e\n"],["\u003cp\u003eResellers can use factory classes in the library, utilizing service account keys from Samsung's Knox Cloud API portal and Google's API Console, to perform actions like assigning devices to customers.\u003c/p\u003e\n"],["\u003cp\u003eCustomers who receive devices through this library can then use the Knox Mobile Enrollment (KME) portal for Samsung devices and the zero-touch enrollment portal for other Android devices to configure their newly acquired devices.\u003c/p\u003e\n"],["\u003cp\u003eThe library is primarily intended for device resellers who have yet to integrate with either zero-touch enrollment or KDP, providing a single point of integration for both.\u003c/p\u003e\n"]]],["The Common Android Reseller Library, a Java library, provides a unified approach for resellers to manage device enrollment for both Samsung and other Android devices. It uses factory classes and service account keys to interface with Samsung Knox and Google's zero-touch APIs. Resellers can create customer IDs and assign devices to customers via `ResellerService` objects and a common set of methods. Customers then utilize Knox Mobile Enrollment or the zero-touch portal to configure assigned devices.\n"],null,["# How it works\n\nThe Common Android Reseller Library is a Java library that interacts with the Samsung\nKnox APIs and the zero-touch [Reseller API](/zero-touch/guides/how-it-works) to\nprovide a single integration for Samsung's [Knox Deployment Program](https://www.samsungknox.com/en/knox-deployment-program)\n(KDP) and Google's zero-touch enrollment services.\n\n[KDP](https://www.samsungknox.com/en/knox-deployment-program) enables trusted\ndevice resellers to verify Samsung devices for their enterprise customers using\n[Knox Mobile Enrollment](https://www.samsungknox.com/en/solutions/it-solutions/knox-mobile-enrollment)\n(KME). Similarly, zero-touch enrollment allows enterprise customers to verify and\nconfigure [other Android devices](/zero-touch/resources/manufacturer-names)\npurchased from authorized device resellers.\nEnroll Samsung and other Android devices through a single integration.\n\nThe reseller library contains [two factory classes](/zero-touch/reseller-library/reference/factory-classes)---one\nfor each enrollment service. These factory classes accept service account\nkeys generated from Samsung's Knox Cloud API portal and Google's API Console to\nauthorize calls to Knox and zero-touch reseller APIs (for more details, see [Get started](/zero-touch/guides/reseller-library/get-started)).\nYou use these factory classes to [create `ResellerService` objects](/zero-touch/guides/reseller-library/common-operations#create_resellerservice_objects).\n\nA [common set of methods](/zero-touch/reseller-library/reference/methods) is\navailable to `ResellerService` objects that allow resellers to perform tasks\nsuch as assigning and unassigning devices to and from customers.\n\nAfter a reseller uses the library to assign devices to an enterprise customer,\nthe customer can use the KME portal to create and apply configs for Samsung\ndevices, and the zero-touch enrollment portal to create and apply configs for\nother Android devices.\n\nWho it's for\n------------\n\nThe Common Android Reseller Library is intended for device resellers that haven't\nintegrated with either zero-touch enrollment or [KDP](https://www.samsungknox.com/en/knox-deployment-program).\n\n- Resellers already integrated with zero-touch enrollment should integrate with [KDP](https://www.samsungknox.com/en/knox-deployment-program) separately to manage Samsung devices.\n- Resellers already integrated with [KDP](https://www.samsungknox.com/en/knox-deployment-program) should use zero-touch's [Reseller API](/zero-touch/guides/how-it-works) to manage non-Samsung devices.\n\n*** ** * ** ***\n\nExample workflow\n----------------\n\nBelow is an example workflow of how a reseller might use the client library\nto manage [KDP](https://www.samsungknox.com/en/knox-deployment-program) and\nzero-touch device enrollments. Code samples for performing basic tasks are\navailable in [Get started](/zero-touch/guides/reseller-library/get-started)\nand [Common operations](/zero-touch/guides/reseller-library/common-operations).\n\n### Receive purchase order\n\n1. An enterprise customer sends you a purchase order. The purchase order contains Samsung and [other Android devices](/zero-touch/resources/manufacturer-names).\n\n### Create customer IDs\n\n2. If this is a new customer, use the library to:\n 1. Create the customer's [zero-touch account](/zero-touch/guides/reseller-library/common-operations#other_android_devices_2).\n 2. Create the customer's [Samsung Knox Customer ID](/zero-touch/guides/reseller-library/common-operations#samsung_devices_2).\n3. If this is an existing customer (the customer already has zero-touch enrollment and Samsung Knox Customer IDs), then continue to Step 4.\n\n### Assign devices\n\n4. Use the reseller library to [assign\n devices to the customer](/zero-touch/guides/reseller-library/common-operations#claim_a_batch_of_devices), based on the customer's purchase order.\n\n### Create and apply device configs\n\n5. Customers can now create configs and apply them to their devices.\n 1. Samsung devices: customers use the [Knox Mobile Enrollment](https://docs.samsungknox.com/KME-Getting-Started/Content/about-kme.htm#h2_3) (KME) portal to create configs and apply them to the Samsung devices they were assigned in Step 4.\n 2. Other Android devices: customers use the [Zero-touch portal](https://support.google.com/work/android/answer/7514005#devices) to create configs and apply them to the non-Samsung devices they were assigned in Step 4. If the customer's EMM supports provisioning zero-touch enrollment devices, they can also complete these tasks in their EMM console.\n\n*** ** * ** ***\n\n**Next steps:** [Get started](/zero-touch/guides/reseller-library/get-started)"]]