I am exploring about using Android Management API to restrict the use of Camera for my company device. So what I need is disable all camera access except for 1 application that my company made to take picture using camera. So what I want to ask is it possible to restrict all camera access using android management api except for 1 application that my company made?
Asked
Active
Viewed 342 times
1 Answers
0
There are some workarounds depending on the use case:
By setting the device to fully manage mode, you can disable camera access on the entire device using the policy "cameraDisabled": true
. In this case, there is no way you can allow exceptions for specific custom app since the policy is device-wide and cannot be overridden with "permissionGrants": [ {object ([PermissionGrant])} ]
.
With that being said there are a few things we can do depending on the use case:
- Making the camera app the default app that responds to
android.media.action.IMAGE_CAPTURE
intent using PersistentPreferredActivity - Setting up the device in kiosk mode and expose the camera app to the user.

Rey V. Aquino
- 316
- 1
- 2
- 5