To provide your app with the necessary device permissions, you need to declare what permissions you require. If your license key supports your declared permissions, it will grant them to you after being activated.

To find the full list of license permissions you can use for Android and Tizen apps, see License permissions. Copy the permissions you need into your manifest file to declare them.

Declaring permissions on Android

Declare the permissions you require in your AndroidManifest.xml file. The code below is an example you can follow. Remember to declare the permissions switch enclosed in a <meta-data /> tag.

<?xml version=”1.0” encoding=”utf-8”?>
<manifest xmlns:android=”” package=””>

    <!-- Declare Knox permissions required by this app -->
    <uses-permission android:name="" />

    <!-- Declare Android permissions required by this app -->
    <uses-permission android:name="android.permission.READ_PHONE_STATE" />

    <!-- Mandatory: Declare the <meta-data /> permissions switch to enable Knox permissions -->
        <meta-data android:name="" android:value="true" />

Declaring permissions on Tizen

Declare the permissions (known as privileges in Tizen) you require in your tizen-manifest.xml file. For more information about which permissions to declare, see Add Privileges.

The code below is an example you can follow.

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<manifest xmlns="" api-version="4.0" package="org.example.wearablecustom" version="2.3.0">
    <author email="">Hello World</author>
    <profile name="wearable"/>
    <ui-application appid="org.example.wearablecustom" exec="knox_demo_app" multiple="false"
        nodisplay="false" taskmanage="true" type="capp">
        <label>Demo App</label>

    <!-- Declare Tizen permissions (privileges) required by this app -->

    <feature name="">true</feature>
    <feature name="">true</feature>