Questions tagged [android-device-owner]

14 questions
5
votes
2 answers

Android 12 - PROVISIONING_SUCCESSFUL intent never received

We are migrating our Device policy app to Android 12 last API. during our test we notice that the intent PROVISIONING_SUCCESSFUL was never received so the related activity never started , instead of that ACTION_PROFILE_PROVISIONING_COMPLETE is well…
issamux
  • 1,336
  • 1
  • 19
  • 35
4
votes
1 answer

How to set device owner on Android Things?

I would like to set my Android app as device owner on a device running Android Things. (I know that Android Things is getting shut down, but still I would need to make it work) I tried the usual command: adb shell dpm set-device-owner…
1
vote
1 answer

Android 12 - Launch MDM app after setup using PROVISIONING_SUCCESSFUL

We recently migrated our Device Policy App(MDM) to support android 12 and would like to open our MDM dpc app after initial setup wizard is complete. This was working fine till android 11 until android 12 updates came out. We are handling…
Nivil Boban
  • 286
  • 1
  • 13
1
vote
0 answers

ANDROID, How to implement Web content filtering

I have an application that is Device-owner and now I need to create Web content filtering. What is the best option for that? For example, if I blocked www.youtube.com, a user can't open that URL in any web browser on an android device.
Taurin
  • 11
  • 1
1
vote
1 answer

Android 12 Device Owner Provisioning with QR code

I have an application, that can be successfully setup as Device Owner on devices up to Android 12 via QR code and now I add two activity like this link for android 12: Android 12 Device Owner Provisioning. and the device owner setup is completed but…
1
vote
0 answers

Write on SD card as DPC/device owner

My app is a DPC (device policy controller), setup as device owner on an Android 8.0.0 (API 26) device. And it needs read/write access to another app's external storage directory (to do some rsync). It works well on the primary/emulated external…
1
vote
1 answer

Access getDeviceID() for a Device Owner App Android 10?

I have many phones I need to register in a database with IMEI barcodes and install a company app on it to connect and track them. For this purpose I need to access the IMEI with getDeviceID(). Since Android 10, it is not as simple. In this page,…
odgatelmand
  • 393
  • 1
  • 5
  • 16
1
vote
0 answers

How to display customised message in device while setting device state as disabled in management console?

We are using Android management API in our project to control the device. We want to display customise message in device as This device has been locked. Contact your system admin while setting device state as disabled.Even though setting disabled…
1
vote
1 answer

Device Owner Admin / DevicePolicyManager, Possible to turn on Mobile Data & Data Roaming automatically on Android?

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 via NFC. Since those devices will be very…
1
vote
1 answer

Trying to make my application device owner in simulator

What I am trying to do: I am trying to make app device owner What I am using: I am using a simulator to try this Manifest
Devrath
  • 42,072
  • 54
  • 195
  • 297
0
votes
0 answers

How to remove and restore user accounts ( adb or programmatically ) as required to make app device owner using adb

We need to make an app device owner using adb (without factory resetting device and manually removing restoring accounts) but it requires the device to have no user accounts like gmail, facebook, etc until the device owner is set. Once device owner…
0
votes
0 answers

Android - Protection from FRP bybass

How to add extra protection in my device owner application so that if someone tries bypassing the FRP they can't use the phone. I have seen this in some devices. they show a notification 'Device managed by admin automatically resetting soon' like…
0
votes
1 answer

Set device locale as device owner

Is it possible to change the system locale programmatically when running as device owner (cf Android Enterprise provisioning) ?
sdabet
  • 18,360
  • 11
  • 89
  • 158
0
votes
2 answers

Android Device Owner Mode by App Signed with platform key (or use signed App for custom device policy)

I have application signed by platform key and I need to move device to kiosk mode. What kiosk mode mean in my case: Set user restrictions (change default activities, set VPN etc...) Prevent user access to third party apps, some system apps…