C
C
Cyrus Smith2017-02-10 14:53:22
Android
Cyrus Smith, 2017-02-10 14:53:22

How to block access to Android phone settings, but leave WiFi settings available?

Hello everyone,
In an application for internal use, I need to close access to the Android phone settings, but at the same time, a regular user should be able to select one of the available networks for connecting to the Internet.
The problem is that I can't just lock the Settings app because WiFi connection settings is one of its sections.
Does anyone know how to solve this problem?
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
ivanessence, 2017-02-10
@ivanessence

If you try to call the wi-fi settings directly, won't it work? *

startActivity(new Intent(Settings.ACTION_WIFI_SETTINGS));

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question