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 :

  1. your app must device administrator
  2. 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)
  3. 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

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

c# - two queries in same method -