I am trying to use KIOSK Mode Sample app on Galaxy S4 (Android 4.4.2). All functionality works fine except for this method:
public void enableKioskMode(String kioskPackage)
the KIOSKReceiver gets the ACTION_ENABLE_KIOSK_MODE_RESULT message, but the KIOSK mode is not actually started.
What I need to achieve is KIOSK mode starting my custom application on pressing home button. Perhaps I'm just using the wrong method?
Difficult to say what's going on with so few details, but there are some requirements to be able to enable kiosk with samsung knox :
android.permission.sec.MDM_KIOSK_MODENote that the kiosk mode with samsung knox disable the home key. (i.e. it do not redirect you to your kiosk app.)