Skip to main content
Filter by
Sorted by
Tagged with
1 vote
2 answers
250 views

I’m seeing a repetitive crash in production when starting a foreground service from the background. The issue has occurred ~177K times in the last 30 days, mostly on Samsung devices (~50%) running ...
vikeshdass's user avatar
  • 2,263
1 vote
0 answers
57 views

I am trying to detect when an app is pinned or unpinned. I know I can check with ActivityManager.getLockTaskModeState() but I want to be notified when this changes. DeviceAdminReceiver has ...
Flyview's user avatar
  • 2,001
0 votes
1 answer
31 views

I want to create an unskippable screen that is forced to show to the user at a particular time or when the app desired too, under the acknowledgment of the user (it is an attempt to create a self-...
You May Know's user avatar
0 votes
2 answers
341 views

After properly adding it as an admin app, other DPM functions work fine (such as dpm.lockNow()). I can also wipe the data on android 10. The issues occur on android 14,13. fun wipeData() { ...
Sandy's user avatar
  • 104
1 vote
1 answer
160 views

I'm developing an app that acts as a Device Policy Controller on Android, primarily focusing on enabling and handling security logging. Despite following the documentation to set up everything ...
king_doublecheck's user avatar
2 votes
1 answer
682 views

enter image description here I have created a device owner app but I am having trouble installing it on a real device. I'm generating Qr Code Using https://datalogic.github.io/aeqrdoc/generat. The ...
Ahmed Adel AbdElGelil's user avatar
45 votes
5 answers
19k views

I am encountering an error in the pre-launch report on the Google Play Console during testing. The error message is as follows: java.lang.SecurityException: No active admin ComponentInfo{com.google....
Diadem's user avatar
  • 501
0 votes
1 answer
2k views

Trying to open the Device Admin Access option when the user tries to uninstall the application from the settings->apps screen and trigger a custom API to notify that the user is trying to uninstall ...
vivekanandhan muthusamy's user avatar
0 votes
0 answers
130 views

when you become Device admin how to disable USB Debuting option through device admin i need to this pragmatically.
zeeshan kamboh's user avatar
2 votes
0 answers
541 views

I am trying to make an app that automatically locks the screen to force it into sleep mode and reactivated it / unlock it at a specific time I've managed to lock the screen using the ...
StormSpirite's user avatar
2 votes
1 answer
215 views

My project has a running background service class. The service class performs a certain operation and every time period of x seconds, it gives an output flag (True or False). Based on that flag, ...
Mohsen Ali's user avatar
4 votes
1 answer
2k views

I'm trying to set my app as a device owner on the Samsung A51 with Android 11. It's a fresh device with no accounts added: adb shell dpm set-device-owner <package>/<package>.receiver....
artem's user avatar
  • 16.8k
1 vote
0 answers
598 views

I have an application that is a device administrator. First, a little disclaimer, our app has an MDM intention (Mobile Device Management), so it is not supposed to be used by end-users. Since our app ...
Paulo Morandi's user avatar
2 votes
3 answers
1k views

I use it like this: devicePolicyManager .resetPasswordWithToken( componentName, nonNullOrEmptyPassword, ...
artem's user avatar
  • 16.8k
1 vote
1 answer
1k views

I have an app in which i have a device admin permission and foreground service. Now i want to close/terminate particular app when that comes on foreground. I know the package name of that another app. ...
user avatar
1 vote
0 answers
944 views

I am creating an application using Samsung Knox and Device Administration. I am trying to disable the keyguard but I keep getting a SecurityException with the message: Admin ComponentInfo{com.samsung....
Pavel Bobrovko's user avatar
2 votes
1 answer
3k views

So I am developing an app which works as device owner on the specific Android device. This app is not available on the play store, but gets transferred with a provisioning app from a different device ...
Petros Mastrantonas's user avatar
-1 votes
1 answer
566 views

I need to write an App that can prevent contact syncing in a work profile. Until Android 9 i just disabled the package com.google.android.syncadapters.contacts and that's it. Unfortunately since ...
deekay's user avatar
  • 681
2 votes
0 answers
464 views

For an Android app managing cryptographic keys, I want to ensure that the device has had a screen lock set up continuously since the first time the app has been run. Specifically, the app will only ...
Fabian Meumertzheim's user avatar
0 votes
0 answers
298 views

I tried to start activity for enabling device administration mode but admin activity did not start. It`s my service class class MainService : Service() { private val description = "Some Description ...
user1854307's user avatar
1 vote
0 answers
77 views

So I have made my App Device admin to add a layer of protection. I am unable to uninstall the app when I try to Uninstall from HomeScreen as it tells you cannot uninstall the app as it is a device ...
Rahul Kumar A's user avatar
9 votes
2 answers
12k views

I am trying to make my feedback app to support fully kiosk, I have tried a lot of solutions but Nothing is completely satisfying my need. Here are the things that I found yet. 1. Make my app as ...
B.shruti's user avatar
  • 1,640
7 votes
2 answers
2k views

I am implementing a Parent's And Child's App where parents can track their child the child can not uninstall the app. I am using the Device Administration Feature to implement this. When Enabled ...
Arpit116's user avatar
7 votes
1 answer
1k views

In Android Q / Android 10 using USES_POLICY_DISABLE_KEYGUARD_FEATURES of the keyguard_features causes a security exception. devicePolicyManager.setKeyguardDisabledFeatures(componentName, ...
Skyyy's user avatar
  • 1,569
8 votes
1 answer
3k views

I am working on a security app, which protects device from strangers. In my application, I have a feature that should capture the image from front camera if user tries to unlock device with wrong PIN/...
Ana's user avatar
  • 196

1
2 3 4 5