Android Question Kiosk 2017 and immersive mode.

Status
Not open for further replies.

EvgenyB4A

Active Member
Licensed User
Longtime User
At Kiosk 2017 there is "back" button and navigation bar. It is advised to use immersive mode. But at this mode if you slice by finger the top or bottom part of the screen the bars are appeared again. How to immediately hide them again?
 

Yvon Steinthal

Active Member
Licensed User
Longtime User
I am unsure if it will be useful to you, but on our Android device, there's a setting where even the top bar cannot be pulled down by the user. For us it was perfect in addition to Kiosk Mode. With the service running, you'd have to know exacly where to look for in order to allow access...

Settings -> Display -> Display Navigation

If you HAVE to get out though, we plugged a keyboard and did a TAB to slowly get back to the settings and disable that setting...
I also made the service shut down on password input...
 
Upvote 0

coslad

Well-Known Member
Licensed User
Longtime User
You cannot prevent it. However you can catch the back key and the user cannot exit your app.
Hi

It seams that it is possible , from Google developer site :

https://developer.android.com/training/system-ui/immersive

When the system bars re-appear, you can receive a callback to make other appropriate updates to your UI. See Responding to UI Visibility Changes.

https://developer.android.com/training/system-ui/visibility

Can you explain us how to do with B4A ?

Thanks !
 
Upvote 0

Sandman

Expert
Licensed User
Longtime User
Depending on your requirements it might also be interesting to investigate Samsung Knox, which makes for a pretty damn good lockdown, if you need it. (I know it's been discussed a couple of times here in the forum, but I don't know if it's possible to use with B4A.)
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Upvote 0
Status
Not open for further replies.
Top