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
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
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.
Do I need a license key or sign my app just like we do it for Google Maps or am I doing something wrong ?