I want to implement a secure kiosk mode to my app. Since Android 5.1 therefore the screen pinning can be used. But every time i start the screen pinning I get a dialog which I don’t want and it’s possible to exit this kiosk mode by holding the back and the overview button.
Therefore I found out that these behaviours can’t be stoped by using the app as device owner.
Now my questions is:
What exactly is thise device owner oder a device admin app. How can I understand it? It would be nice if someone can explain it in easy words.
And the second question:
How can I enable this and get my app working as device owner?