Back to top

Install the SDK

Download the SDK

  1. Sign in to the Knox Partner Portal. If you’re not already a member of the Knox Partner Program, click Become a Partner and provide your details.

  2. Select Knox Developers.

  3. On the Knox Developers dashboard, click SDK Tools > SDK Downloads.

  4. On the SDK Downloads page, click Download for the SDK you want.

  5. Review the SDK Agreement. If you agree to the terms, select the checkbox and click Accept. The browser saves the SDK package into your Downloads folder.

  6. Copy the extracted addon_xxx folder to the add-ons folder of your integrated development environment (IDE).

    • For Tizen Studio — tizen-studio\ide\plugins

Set Up Tizen Studio

  1. Install a suitable Tizen Studio version for your PC environment: Windows, Ubuntu, or MacOS.

  2. Install the necessary add-on packages to develop or debug your own app. Go to Tools > Package Manager > Install 4.0 wearable items in the Main SDK tab, and install the Samsung Certificate Extension and Samsung Wearable Extension SDKs.

    • On the Install Samsung Knox Tizen SDK for Wearables section below, find the NOTES that clearly explain this process.
  3. To issue the certificates, sign up for a Samsung account.

  4. Turn on “debug mode” on the Watch to connect up with your note PC.

    Tizen SDK app development framework

  5. If you don’t have a cradle to connect with your PC, please refer to the guide for wireless connection.

For information on app signing, read Sign an app.

Install the SDK

  1. Launch the Tizen Studio Package Manager. (Note: You can also open it from Tizen Studio by clicking Tools > Package Manager.)

    Launch the Tizen Studio Package Manager

  2. On the row of icons at the top right of the window, click on Configuration or the gear icon.

    Click on Configuration or the gear icon

  3. In the Configuration window, find the Extension SDK section below Main SDK and expand its settings by clicking the down arrow.

    Be sure that the activation is turned on for both Samsung Certificate Extension and Samsung Wearable Extension SDKs.

    Extension SDK

    Extension SDK settings

  4. Click the + button to add a repository.

    Add repo

    Enter repo details

  5. In the Add Repository window, enter the Name (For example, KnoxSDKWearable). For your Repository, navigate to where your Samsung Knox Tizen SDK for Wearables zip file is (knox_add_on_sdk_2.3.1.zip) and click on it.

    Enter name

    Enter repo path

  6. Click OK to close the Add Repository window. The new repository will appear at the end of the list of Extension SDKs.

    Add repo

  7. Click OK again to close the Configuration window. In the main window Extension SDK tab, you should be able to find the three new Extension SDKs: Knox Attestation SDK for Wearable, Knox Custom SDK for Wearable, and Knox MDM SDK for Wearable.

    Click the Install button at the right of each of these items. Installation will take a few moments.

    Be sure that both Samsung Certificate Extension and Samsung Wearable Extension SDKs are installed. If not, click the Install button for these as well.

    New SDKs added

  8. Once all packages are installed, Close the Package Manager. Then, in the confirmation window, click the checkbox to Launch the Tizen Studio and click OK.

    Close package manager

    Confirm closure

After configuring these settings in the Tizen Studio Package Manager, we also have to configure the project properties.

  1. Open the project properties window by navigating Project > Properties.

    Open project properties window

  2. In C/C++ Build > Tizen Settings, make sure to check the following parameters:

    • In the Platform tab:

      • Architecturearm

      • NameTizen Device 4.0

      Platform parameters

    • In the Framework tab, check all applicable frameworks, including:

      • custom-sdk-<version-number>

      • mdm-sdk

      • knoxattestation-sdk

      Frameworks

  3. Click Apply & Close.

Create a certificate

  1. After connecting the wearable with your PC, click the ToolsCertificate Manager menu.

    Click Tools Certificate Manager

  2. Select + menu, then choose the Samsung certificate profile.

    • If this popup is not shown, make sure to have the Samsung Certificate extension installed.

    choose the Samsung certificate profile

  3. Select Mobile / Wearable as the device type, write a new title for your certificate profile, and click Next.

    Select device type

    Write new title

  4. Click Create a new author certificate, enter your name, and fill in the password.

    Create new author certificate

    Add author name and password

  5. Sign in the Samsung account pop-up window and continue.

    Sign in to your Samsung account

  6. Upon seeing the Author Certificate completion page, click Next. Click Create a new distributor certificate, and you will be able to see the connected device’s DUID in the Add individual DUIDs panel. Click Finish.

    Click Next

    Create a new distributor certificate

    See device DUID

Run and debug

  1. To install the app, right-click on project in Project ExplorerBuild Project > Run As > Tizen Native Application.

  2. To debug app, right-click on project in Project ExplorerDebug As > Tizen Native Application.

    Debug as

    Debug details

Is this page helpful?