Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Wspólna biblioteka sprzedawców na Androida to biblioteka w języku Java, która współdziała z oprogramowaniem Samsung
interfejsów API Knox i interfejsu Reseller API, które umożliwiają
zapewniają jedną integrację dla programu wdrażania Knox firmy Samsung.
(KDP) i usługi rejestracji typu zero-touch Google.
KDP włącza funkcję Zaufane
weryfikacji urządzeń Samsung dla klientów korporacyjnych za pomocą
Rejestracja mobilna Knox
(KME). Podobnie rejestracja typu zero-touch umożliwia klientom korporacyjnym weryfikację
konfigurowania innych urządzeń z Androidem,
zostały zakupione u autoryzowanych sprzedawców urządzeń.
Zarejestruj Samsunga i inne urządzenia z Androidem w ramach jednej integracji.
Biblioteka sprzedawcy zawiera 2 klasy fabryczne – jedną.
dla każdej usługi rejestracji. Te klasy fabryczne akceptują konto usługi
kluczy wygenerowanych w portalu Knox Cloud API firmy Samsung oraz konsoli interfejsów API Google
autoryzuj wywołania interfejsów API Knox i sprzedawców typu zero-touch (więcej informacji znajdziesz w pierwszych krokach).
Te klasy fabryczne pozwalają tworzyć obiekty ResellerService.
Wspólnym zestawem metod jest
dostępne dla obiektów ResellerService, które umożliwiają sprzedawcom wykonywanie zadań
na przykład przypisywanie urządzeń klientom i cofanie ich przypisania.
Gdy sprzedawca przypisze urządzenia do klienta firmowego za pomocą biblioteki,
Klient może użyć portalu KME do tworzenia i stosowania konfiguracji dla urządzeń Samsung
urządzeń oraz portalu rejestracji typu zero-touch, który pozwala tworzyć i stosować konfiguracje
z innymi urządzeniami z Androidem.
Gdzie się sprawdzą
Wspólna biblioteka sprzedawców urządzeń z Androidem jest przeznaczona dla sprzedawców urządzeń, którzy nie
zintegrowane z rejestracją typu zero-touch lub KDP.
Sprzedawcy, którzy zostali już zintegrowani z rejestracją typu zero-touch, powinni przeprowadzić integrację z
KDP oddzielnie na
do zarządzania urządzeniami Samsung.
Sprzedawcy są już zintegrowani z KDP
powinni używać interfejsu Reseller API do rejestracji typu zero-touch,
i zarządzanie urządzeniami innymi niż Samsung.
Przykładowy przepływ pracy
Poniżej znajdziesz przykładowy przepływ pracy sprzedawcy dotyczący biblioteki klienta.
do zarządzania KDP oraz
rejestracji urządzeń typu zero-touch. Przykładowe fragmenty kodu do wykonywania podstawowych zadań:
dostępne w artykule Pierwsze kroki
i typowe operacje.
Klienci mogą teraz tworzyć konfiguracje i stosować je na swoich urządzeniach.
Urządzenia Samsung: klienci używają
Rejestracja mobilna Knox
(KME), aby tworzyć konfiguracje i stosować je na urządzeniach Samsung
zostały przypisane w kroku 4.
Inne urządzenia z Androidem: klienci używają
Portal rejestracji typu zero-touch
aby tworzyć konfiguracje i stosować je na urządzeniach innych niż Samsung,
przypisane w kroku 4. Jeśli dostawca usług EMM klienta obsługuje obsługę administracyjną rejestracji typu zero-touch
podczas rejestracji urządzeń, mogą też wykonywać te czynności przy użyciu
konsoli.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 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)"]]