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.

75 questions
12
votes
2 answers

Grant USB permissions as device owner

A device owner can grant runtime permissions to a third-party app using DevicePolicyManager.setPermissionGrantState() to avoid user prompts. But is there any way for a device owner to grant USB permissions as well, so that this app gets access to…
sdabet
  • 17,379
  • 11
  • 73
  • 143
10
votes
2 answers

How does designing custom android DPC app relate to Android management API?

I'm new to android enterprise development world, and I have some misconception of how different pieces in the android enterprise ecosystem relate to one another. Let me explain. The solution that I'm trying to achieve is being able to lock the…
9
votes
1 answer

How to distribute private Android app testing tracks using the Android Management API + Organisations?

So I'm using the Android Management API to manage and handle deployment for an app to a kiosk device I am working on. I've created an organisation, created a policy, and ensured the app is limited to managed google play only, and assigned the…
7
votes
4 answers

How to prevent users from turning off GPS, Wifi and Bluetooth?

I'm developing a tracking application and I need to prevent users from turning off the basic sensors used to determine the location. I can not modify the devices ROM or have root access (or at least it would be very desirable to had not), but I…
6
votes
1 answer

Update Managed Google Play app that is in KIOSK mode

For a client a I have created an simple app that is used by the clients employees and the clients customers. All phones are Samsung A70 phones running Android 9. The app has been setup to run in KIOSK mode so that only the app can be run (dedicated…
6
votes
0 answers

Android Enterprise - BluetoothAdapter.startDiscovery() does not start scan

I am using BluetoothAdapter.startDiscovery() to find a specific Bluetooth device (it is Bluetooth 2.0 device, so I have to use BluetoothAdapter.startDiscovery()). I have all required permissions (Bluetooth, Location), and the app works just fine. …
6
votes
3 answers

Is it possible to build a DPC without enroling with EMM Community?

Since the process of applying for EMM integration takes an unjustifiably big amount of time and the whole process is described as "incredibly painful" by those lucky ones that went through it, I want to know whether is it absolutely needed to become…
Sevastyan Savanyuk
  • 4,976
  • 2
  • 16
  • 29
4
votes
1 answer

Android managed configurations provider

The overview section of Set up Managed Configurations page states the following: Apps define the managed configuration options that can be remotely set by an administrator. These are arbitrary settings that can be changed by a managed…
Andy Res
  • 15,182
  • 3
  • 55
  • 89
3
votes
1 answer

Make phone call while app is in kiosk mode

We are working on an Android app which is intended to replace the default Android dialer and handle by itself all the calls going on in the device. So far, the app works as expected and we are able to both handle incoming calls and make calls by…
3
votes
2 answers

How can IT admins configure an Android app with managed configurations

I have an Android app that is used by many enterprises, each one has their own Server Address and Port. When each enterprise downloads my app I want them to be able to configure the Server Address and the Port number. Maybe the IT administrator of…
3
votes
1 answer

How to publish a self-hosted app on Google Play?

Where to upload the definition file for a self hosted (managed) app in the Google Play console on a Google developer account? I'm developing an app for a customer that uses an EMM (XenMobile) for managing their Android devices. We are using Android…
3
votes
5 answers

Android Do not Disturb (DnD) permission in managed profile

I have the following problem: My app is distributed over an MDM system and runs in Android for Work. In certain situation, the app must temporarily terminate the DnD mode. To achieve this, the user must grant the DnD permission when the app is…
3
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…
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
1 answer

Configure APNs on Android 9 (API level 28)

I'm trying to use the new APN api The code looks like this DevicePolicyManager dpm = (DevicePolicyManager) getSystemService(Context.DEVICE_POLICY_SERVICE); ComponentName deviceAdmin = new ComponentName(getApplicationContext(),…
1
2 3 4 5