Forum General

Is it possible to know that app is running in a Kiosk mode?

gil147gil147 Member

I need my app to be in kiosk mode on demand (user clicks lock\unlock buttons for example)

I am using next methods which works fine :
1. StartLockTask
2. StopLockTask

In android, invoking the "StartLockTask" displays next dialog (text can be a little bit different) : "Pin this screen to only this app?" Cancel \ Pin
How can I know if user clicked on Pin or Cancel ? or how can i know that the app is indeed in kiosk mode?

Sign In or Register to comment.