Questions tagged [android-enterprise]

Questions related to Android Enterprise APIs and tools for developers to integrate support for Android into their enterprise mobility management (EMM) solutions.

Android Enterprise is a Google-led initiative to enable the use of Android devices and apps in the workplace. The program offers APIs and other tools for developers to integrate support for Android into their enterprise mobility management (EMM) solutions.

88 questions
2
votes
1 answer

Android Management API permissionGrants in policy applications not reflecting on device

I have an application within this policy which contains permissionGrants. I have applied this policy to multiple fully managed devices; however, when going to applications to look at the permissions on the physical device, these GRANT permissions…
2
votes
3 answers

How to get runtime time permissions using android management API?

I am using the Android Management API to get runtime permission android.permission.SYSTEM_ALERT_WINDOW. The app is going to be installed on fully managed devices. The policy has the below permissions defined:- defaultPermissionPolicy: "GRANT" I…
2
votes
3 answers

Using Google EMM how to block the user from formatting the device

We want to block the user from formatting the device. So we have created a custom policy with following options. "factoryResetDisabled": true, "safeBootDisabled": true, This does not work when Policy is enrolled, as when we went to boot-loader…
2
votes
1 answer

Does Android management API support custom DPC apps?

https://developer.android.com/work/dpc/build-dpc Caution: Android Enterprise is no longer accepting new registrations for custom device policy controllers (DPCs). Learn more. Hi @Fred, I found this above information from the mentioned path. I…
2
votes
1 answer

KeyedAppStates aren't reported to the AMAPI

I have implemented the feedback channel with the KeyedAppStates in my application. I'm calling KeyedAppStatesReporter.setStatesImmediate(hashSetOf(state)) where state is a keyedAppState created with the builder, but nothing is reported on the AMAPI…
2
votes
2 answers

Android Management Api losing control over enrolled device

We are using android management API to manage our internal enterprise-level devices, it seems that sometimes google is losing the connectivity or command with the devices even if the device’s WIFI is fully functional. We experienced that one of our…
2
votes
1 answer

Device Details Tracking Android Management API (MDM)

We are Performing POC To get all the device information after device provisioning Like Battery Status, Geo Location, Available storage and many more By using Android Management API As we were able to get so many information from Custom DPC
2
votes
1 answer

How can I silently push an apk and get it installed by android device policy using android management api?

I am trying to push an APK to the device and get it installed by Android device policy (Device owner) rather than pushing application from play store. I am able to push applications that are available on play store using device policy { …
2
votes
1 answer

How to get the enterpriseToken when creating an enterprise with the Android Management API?

I'm trying to create a new enterprise using api method. First I maked signupUrls.create with request parameters projectId and callbackUrl. In field callbackUrl, I put my Google Cloud platform admin url. And I got a response { "name":…
Jekson
  • 2,892
  • 8
  • 44
  • 79
2
votes
0 answers

Programatically retrieve Android Organization/Enterprise ID

I'm looking for a way to programatically retrieve the Android Organization/Enterprise ID (https://developers.google.com/android/work/play/emm-api/distribute#add_an_enterprise_to_alphabeta_tests) in an App that is enrolled to an organization and was…
Lukas
  • 2,544
  • 2
  • 18
  • 33
2
votes
2 answers

Kiosk devices with Lollipop (5.1) enrollment via NFC

I would like to ask, if somebody tried enroll Kiosk devices with Android via programmed NFC tags. I found this great blog post and followed steps inside. But I'm unable to even start process of enrolling, tried on Android 5.1, 7.1.2 and 8.0. I tried…
2
votes
1 answer

Enrollment token expiry in Android Management API

I have been going through detailed documentation of Android Enterprise for Dedicated Devices setup. I have query regarding expiry of Enrollment Token. Before that, let me highlight scenario. I manage Dedicated Device using my own server…
NightFury
  • 13,436
  • 6
  • 71
  • 120
2
votes
1 answer

How to use Managed Configurations in an app that may not have a Managed Configurations Provider?

I am developing an app that will work in 2 different Android environments (consumer & corporate markets). Lets say it is a texting app with a dozen configuration parameters to manage. The first environment is a standard Android device that has no…
1
vote
0 answers

How we can auto re-enroll android devices after the factory reset without Zero Touch Portal account

I want that if someone completes a hard reset on the Android device, then the device re-enrolled automatically by their serial number. The zero-touch portal provides this feature but we are trying without a portal I already apply the zero touch…
1
vote
0 answers

Android emm device owner connect to wifi network

As an android developer who currently is working on an EMM client I want to silently connect device to wifi network. I have device owner privilege but still need to show user a prompt and wait for user acceptance. Because I am device owner of a…