Android Question problem with android settings Android 7

fransvlaarhoven

Active Member
Licensed User
Longtime User
Hello,

I want to give a user only access to the settings for specific things on the phone:

Dim StartIntent As Intent
StartIntent.Initialize("android.settings.WIFI_SETTINGS", "")
StartActivity(StartIntent)

up to android 6 that worked fine.

However, starting from Android 7, having access to a specific screen in the settings allows the user also to go back to the "parent" setting and so on so that in fact, the user has access to all settings.

is there a way to avoid this behavior?
 

DonManfred

Expert
Licensed User
Longtime User
The user always can go to the settings manually and go into all settings.
You can not prevent android from doing this.
 
Upvote 0

fransvlaarhoven

Active Member
Licensed User
Longtime User
To a certain extend, that's indeed the way it is.

However, I wrote an application that works in "kiosk-mode" and blocks access to all settings.
Access to "allowed" settings is controlled by the app itself using the above mentioned code.

This worked flawless for android 4, 5 and 6.

It also works for android 7 with the one exception that, once in the screen for a specific setting, the user can go back to the "parent" setting using the arrow in the settings screen.

The only option I have for the moment is increasing the height of the overlay on the top section of the screen
 
Upvote 0
Top