Top "Device-admin" questions

The Device Administration API for Android 2.2 and later allows applications to enforce security policies by requiring a password or encryption, and to lock or wipe the device programmatically.

How to remove an app with active device admin enabled on Android?

I wrote an app with device admin enabled (DevicePolicyManager) and installed. But when I want to uninstall it, it returns …

android uninstallation device-admin
How to make my app a device owner?

The device policy manager API docs and the android 5.0 overview both mention something about a device owner app. How can …

android device-admin
Lock the Android device programmatically

I have been trying to lock the device through program. But I can't find the solution still. I want to …

android android-emulator locking device-admin
how to make my application device administrator in android?

I am trying to make my application device administrator , i followed some notes provided on the same at Device admin …

android device-admin
Firebase message with high priority not waking device from Doze android 6+

I have migrated my project from using GCM to use Firebase. Push notification comes through ok when the device is …

android firebase-cloud-messaging device-admin
Lock screen without disabling fingerprint

I have the following problem. I'm trying to make an app that locks the screen. The method via DevicePolicyManager works …

android fingerprint lockscreen device-admin
Android - Activation of the system key lock (aka lock screen)

I have to activate android's system key lock (the one you get when you press the power off/hang up …

java android keyboard locking device-admin
Lock device using DeviceAdminReceiver

i am try to lock the device using DeviceAdminReceiver and try to enable administration like following: if (!mDPM.isAdminActive(mDeviceAdminSample)) { …

android device-admin
Prevent app from Uninstall in Android

What I Want I want to have a simple checkbox in my settings menu, which if checked will ENABLE Device …

android device-admin
How to activate DeviceAdmin when application start in Android?

Hello I want to start/activate Device Admin when application start without using Intent. Now I am using this code: …

android device-admin