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

NOTE — 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.