title: Enabling KIOSK mode using Samsung MDM 5.0 Knox
body: <p>I was trying to run the sample knox app using MDM 5.0 SDK. I am trying to implement KIOSK Mode/ Enable Camera/ Disable Camera but every time I run my app it throws me a security exception</p>
  
  <pre><code>01-02 00:56:07.219: E/AndroidRuntime(8142): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.newkiosk/com.example.newkiosk.MainActivity}: 
  java.lang.SecurityException: Admin does not have android.permission.sec.MDM_KIOSK_MODE
  </code></pre>
  
  <p>In my manifest file I am declaring the uses permissions for all the operations but still not able to implement KIOSK Mode/ Enable Camera/ Disable Camera.</p>
  
  <p>Do I need a license key or sign my app just like we do it for Google Maps or am I doing something wrong ?</p>