device-policy-manager Questions

2

Solved

I previously posted a question on how to get the signature checksum of my APK here: How do I get the signature checksum of my APK? The answer is perfect if an app is signed with the v1 signature s...

2

Solved

I have an application, that can be successfully setup as Device Owner on devices up to Android 12 via QR code from JSON below: { "android.app.extra.PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME&quo...

3

We have some android devices attached to Android Management API as fully managed work devices. Now when we push out some changes to the device policy such as Factory Reset Disabled, Adjust Volume B...

5

I want to control enabling/disabling keyguard on the device. To do that I'm using DevicePolicyManager and KeyguardLock API of Android SDK. Below is my implementation to manage this: public class De...
Nies asked 18/2, 2014 at 11:21

1

Solved

For some reason, the QR code for installing our app as a device owner stopped working on Android12 devices (the same QR codeworks perfectly on previous Android versions). The error message we are g...
Armorial asked 24/4, 2022 at 15:15

1

Solved

I am trying to get the signatures from an apk file prior to installing, however I am getting null signingInfo object. The PackageInfo is properly populated with all of the other data related to the...
Villanovan asked 4/3, 2022 at 18:51

6

I have made an app device owner using ADB, by following this link : How to make my app a device owner? but now, I'm not able to revert this. In the device administration Tab, this option is disab...
Certainty asked 6/3, 2018 at 10:12

2

Solved

public final static void lockDevice() { try { if (devicePolicyManager.isAdminActive(adminComponent)) { devicePolicyManager.lockNow(); } } catch (final Exception ex) { ... } } The abo...
Hoofbound asked 24/1, 2012 at 13:45

4

Solved

So right now I am trying to develop an Android App for my young children. I want to set a pin or passwords on selected applications for a particular amount of time to prevent them from opening the ...

4

We have received a policy notice from playStore as: Your app manifest requests the Call Log permission group (e.g. READ_CALL_LOG, WRITE_CALL_LOG, PROCESS_OUTGOING_CALLS) It must be actively regist...
Grisby asked 8/10, 2018 at 18:13

3

Solved

I have a service and I want the service promote to enable it as Device Admin, until now I launched this kind of UI interactions from the service like Intent intent2 = new Intent(); intent2.setF...
Sugarcoat asked 31/12, 2011 at 3:4

1

Solved

I have a working DPC app which is the Device Owner. I have tried this on two different Android 6.0.1 devices to rule out any device/manufacturer issues. I used adb shell dpm set-device-owner com....
Gangland asked 30/10, 2017 at 16:54

1

Solved

I would like to use the signature checksum instead of the package checksum when provisioning a device with a device owner app. The app will be downloaded from an http server. This post is great w...

3

The Lollipop API provides 2 new features "Profile Owner" and "Device Owner" (http://developer.android.com/about/versions/android-5.0.html#Enterprise). Between them, they offer j...

1

I am developing an Android App that starts the process of encrypting data on the device. I am detecting the encryption status with this code : int encrypted = 0; device_policy_manager = (DevicePo...

3

Solved

After achieving device ownership, I am trying to implement a method to instruct the device to lock any given app into kiosk mode (or screen pinning mode). Since I have device ownership, the user is...

1

The new Android Lollipop API provides a new pair of methods for getting and setting restrictions on other apps: DevicePolicyManager.getApplicationRestrictions and DevicePolicyManager.setApplication...

3

Solved

I am trying to set the device owner package on a device using NFC. The is mentioned in the Lollipop overview here: To deploy and activate a device owner, you must perform an NFC data transfer f...
Pannier asked 20/10, 2014 at 13:51

2

Solved

Hello I was checking Android 5.0 samples there was sample BasicManagedProfile. Using that I have created managed profile successfully. But it was managing only Market applications (Downloaded from ...
1

© 2022 - 2024 — McMap. All rights reserved.