Top "Device-policy-manager" questions

DevicePolicyManager is a Java class in Android where device policies (password quality etc) can be set by a third party Device Administrator application.

Android - how to completely disable keyguard

I want to control enabling/disabling keyguard on the device. To do that I'm using DevicePolicyManager and KeyguardLock API of …

android keyguard device-policy-manager
How to remove set-device-owner in Android DPM?

I have made an app device owner using ADB, by following this link : How to make my app a device …

android adb device-policy-manager
How to programmatically set a lock or pin for an app

So right now I am trying to develop an Android App for my young children. I want to set a …

java android countdown android-package-managers device-policy-manager
Screen pinning 3rd party apps programmatically

After achieving device ownership, I am trying to implement a method to instruct the device to lock any given app …

android android-5.0-lollipop device-policy-manager device-owner android-screen-pinning
How to make an application default phone or Assistant handler on the device by giving user an option to make it default app

We have received a policy notice from playStore as: Your app manifest requests the Call Log permission group (e.g. …

android phone-call device-policy-manager
devicePolicyManager.lockNow() is not working for Motorola Tablets

public final static void lockDevice() { try { if (devicePolicyManager.isAdminActive(adminComponent)) { devicePolicyManager.lockNow(); } } catch (final Exception ex) { ... } } The above code does …

android locking motorola block-device device-policy-manager
java.lang.SecurityException: No active admin owned by uid 10047 for policy #4 on wipe data

I wants to wipe data remotely using my app but currently I am trying to do it manually from app. …

java android device-admin device-policy-manager
Run intent DevicePolicyManager.ACTION_ADD_DEVICE_ADMIN from a service

I have a service and I want the service promote to enable it as Device Admin, until now I launched …

android android-intent task device-policy-manager