android - Samsung KNOX enabling KIOSK Mode with package name does not work -
i trying use kiosk mode sample app on galaxy s4 (android 4.4.2). functionality works fine except method:
public void enablekioskmode(string kioskpackage)
the kioskreceiver gets action_enable_kiosk_mode_result message, kiosk mode not started.
what need achieve kiosk mode starting custom application on pressing home button. perhaps i'm using wrong method?
difficult what's going on few details, there requirements able enable kiosk samsung knox :
- your app must device administrator
- your knox license must have been activated device administrator app (be careful, asynchronous process , requires user interaction. i.e. user must approve license if didn't yet)
- your device administrator app must have permission :
android.permission.sec.mdm_kiosk_mode
note kiosk mode samsung knox disable home key. (i.e. not redirect kiosk app.)
Comments
Post a Comment