Lock access to Android Settings but Wi-Fi - android

For my usecase i need to block access to phone settings for regular users, but they have to be able to see a list of available Wi-Fi and connect to them.
I can use some of the lock apps in the market, but they lock the whole Setting app, including Wifi section.
Does anyone have any ideas how to do this?
Thanks.

You Download "Leo Privacy gard" Android application That You Find In Android Play store You install This Application and Lock Any applications and settings.

Related

can we able to lock all applications in android device through android-management-api?

While applying lock command through android-management-api in the device, the device will be locked. But if users know the password, they can able to unlock the device and use the applications in the device.
My requirement is to disable all applications for a specific amount of time. Is there any possibility to achieve this functionality through android-management-api?
If you want to lock the device and prevent user access entirely, you can reset the device’s password and then lock the device using issueCommand: RESET_PASSWORD and LOCK.
You can also use Devices.patch() and set state to “DISABLED” to disable all the applications (for fully managed devices) or work apps (when enrolled in work profile) from the device.
If perhaps you want to achieve this because of compliance issues, then the IT admin can wipe the device (for fully managed), remove any corporate apps from the device, or remove the work profile. This can also be automated by using compliance rules.
use disable key word and set as true in application policy to disable the app.
Try this link.
And also vote me if it works fine.
https://developers.google.com/android/management/reference/rest/v1/enterprises.policies#applicationpolicy

Does uninstalling the application removes the device owner settings the application has utilized?

I'm trying to create an application that can disable or hide other applications. After going through some online resources i found out that i have to make my application the device owner to do so.
I would like to know, if i make my application the device owner, will that permission be removed when i uninstall the application?
You can't uninstall the device owner. You also can't become the device owner if you're a Play Store app. Device ownership really is only possible if its a device you physically own and can set up.

Block single apk notifications via adb

I'm looking to change notifications settings for a single application remotely.
I've got the device enrolled into a MDM.
Android device running 6.01.
I can remotely deploy / update apps etc...
However, I want to disable notifications for this. I can't seem to find a hands off approach to doing this.
I'd have to break out of the end user lock down application.
Go to settings
apps
find app
notifications
block
restart device.
Is there a way I can remotely make this change?
Thanks in advance.
you might have more luck asking your MDM provider but there is no way to achieve this from the platform. This is not a requirement I have heard before, typically enterprise devices are configured to block all notifications or allow all. If you do not plan on using the application in question you could likely disable the entire app remotely but being able to disable notifications for that specific app remotely is not currently possible.
The MDM provider said it was an OS behavior and needs to be suppressed from the OS. I got it sorted by disabling them the manual way.

Block Camera, shutdown option and keep GPS and mobile data enabled - android

I got a small project. Company will provide android phones to their employees and company do not want them to access camera and shut down their phone and also they should not be able to disable GPS or Mobile data.
I'm new to android development. Would you please tell me if this is possible. Few reference on how to do that (If possible) :).
Thank you so much for your help.
Nothing will stop them from shutting down their phones. If nothing else they can always remove the battery.
Some of the other stuff can be done via Device Owner permissions and android's device policy manager, which is made for enterprise control of devices.

How to programmatically disable apps without root?

I've just found an app that allows to disable Samsung apps without root, and in the background:
https://play.google.com/store/apps/details?id=com.hecorat.packagedisabler
And also this free one:
https://play.google.com/store/apps/details?id=com.ospolice.packagedisabler
How could this be? It doesn't even show a system-type alertDialog to ask the user if it's ok to disable the app. Did they find a flaw that allows doing so?
Is it only for Some Samsung apps? What about other apps and other companies? Is is possible there too?
Could the same mechanism be used for other operations? Like enabling apps?
I currently don't have a Samsung device, so I can't even check this app.
You can hide or unhide the apps provided you make your app as device owner with the api setApplicationHidden of DevicePolicyManager
Your app needs to be the device owner of the device. In order to become a device owner, you either need to do an NFC configuration or adb command shell. You can find a very well written blog by Florent here.
However, there is a new method of getting your application to become a device owner starting with Android Marshmallow. With a lot of limitations though. You have to be an EMM provider and your client has to have a google business or edu licensing for this to work.
There is no application on the google play store that allows your app to become device admin. As a device owner you have a lot of things you can control on the device and hence, I believe Google may not want to provide this kind of control without proper safeguards.
With regards to Samsung Devices, they provide their knox sdk as mentioned with other answers here which gives you access to certain APIs that are not allowed via stock Android.

Categories

Resources