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
14
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
  • 18,360
  • 11
  • 89
  • 158
11
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…
8
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
  • 5,797
  • 4
  • 22
  • 34
4
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…
4
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…
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,963
  • 5
  • 60
  • 96
3
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(),…
3
votes
0 answers

Background location permission not granted in Android Q for Device Owner app through DevicePolicyManager at the time of device enrolment

Background location permission not granted in Android Q for Device Owner app through DevicePolicyManager at the time of device enrolment. coarseP = mPolicyManager.setPermissionGrantState(mAdminComponent, mContext.getPackageName(), …
3
votes
1 answer

How do i get the launch intent for my work profile app from my app in the primary profile?

This question targets Android for work. I have written an app including a DevicePolicyController following this guide. The controller creates a managed profile for my Android device. I added an app to that profile which is called FooApp. Now I can…
Xerusial
  • 525
  • 1
  • 5
  • 17
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…
1
2 3 4 5 6