Back to top


You need to activate a license to use the Knox APIs. This sample app demonstrates how to activate or deactivate your license.

In this tutorial, you will learn how to:

  • Get a license
  • Activate a license
  • Declare permissions

Initial setup

If you aren’t already enrolled, first sign up for the Knox Developer Portal.


Once you’re a partner, you’ll need to:

  1. Install Android Studio (or another IDE).
  2. Set up your Android environment.
  3. Install the Knox SDK.
  4. Download the complete source code for this tutorial — “License activation”.
  5. Get a Samsung Knox device to test with.

The sample app

Knox sample app

Knox sample app

Activating Knox License using the sample app will be successful with the Development key pictured above. To use a Commercial key, you must associate a package to the license key.

Is this page helpful?