Questions tagged [android-managed-profile]

In an Android for Work deployment, For an BYOD scenario, an enterprise needs to maintain control over certain aspects of the employees' devices. The enterprise needs to ensure that work-related information is encrypted and is kept separate from employees' personal data. To address this situation, Android 5.0 (API level 21) allows enterprises to set up a special work user profile using the Managed Profile API. This user profile is called a managed profile.

Managed profiles

Users often want to use their personal devices in an enterprise setting. This situation can present enterprises with a dilemma. If the user can use their own device, the enterprise has to worry that confidential information (like employee emails and contacts) are on a device the enterprise does not control.

To address this situation, Android 5.0 (API level 21) allows enterprises to set up a special work user profile using the Managed Profile API. This user profile is called a managed profile, or a work profile in the Android for Work program. If a device has a managed profile for work, the profile's settings are under the control of the enterprise administrator. The administrator can choose which apps are allowed for that profile, and can control just what device features are available to the profile.

[source :: http://developer.android.com/training/enterprise/work-policy-ctrl.html#set_up_policies]

33 questions
10
votes
2 answers

Installing app to managed profile

I am playing around with the BasicManagedProfile sample and want to install a custom app to only the managed profile. I can easily go to the play store, download, and install an app and it will only appear in the apps of the work profile. However,…
DeeV
  • 35,865
  • 9
  • 108
  • 95
3
votes
2 answers

Android Management API with EMM Community

I'm using Android Management API to create Work Profile. Usage limit to this is per project 1000 devices and 1000 queries per 100 seconds for each project. I want to increase this limit also I want to explore DPC Support Library, that's not publicly…
3
votes
1 answer

Get list of Apps in Android work Profile

I need to get the List of apps that are enabled in the Android work Profile/Managed Profile, where My app is the Profile Owner app or alternatively how to check whether the app with given package name is Installed in work Profile/Managed Profile.
sjDroid
  • 159
  • 2
  • 8
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
2 answers

Android managed profile - Profile owners cannot set user restriction no_add_user

As a profile owner, I am trying to disable user addition and the code that I am using is devicePolicyManager.addUserRestriction(myComponent, UserManager.DISALLOW_ADD_USER) When I call this I get a security exception that says Process:…
2
votes
1 answer

Enable quick settings in fully managed mode - Android Management API

I couldn't figure out how to enable quick settings to allow users to connect to a wifi network, among other things, in a fully managed device using Android Management API. I'm using this configuration: { "applications": [ { …
2
votes
2 answers

Why isn'y my KIOSK app is updating automatically?

I have a KIOSK app that runs on fully managed devices. I have pushed several updates on PlayStore and I can see the updated version on PlayStore App but they are not updating automatically. I also set the auto-update policy to Always but still no…
Zubair Rehman
  • 2,335
  • 2
  • 20
  • 25
2
votes
1 answer

How to access personal file in SD card in work profile App?

According to Google's introduction https://developer.android.com/work/managed-profiles.html, personal files in SD cards are not accessible by work profile application. However, we can see all files in DocumentsUI(application provided by system) by…
2
votes
0 answers

Android - How to determine the current lock state of a managed profile

Since of Android N / API24 it is now possible to lock a managed profile independent of the device lock. A user can split the locking behaviour by disabling the 'use one lock' security setting. Does anyone know of a way to query the managed…
2
votes
0 answers

setCrossProfileCallerIdDisabled not working

Did someone used the setCrossProfileCallerIdDisabled method of a managed profile? Is it working or not? When I disable the cross profile caller id, I can still see who is calling me in my unmanaged profile even if the contact is registered only in…
Vick Tim
  • 97
  • 7
2
votes
1 answer

Wiping data on Android: Device Admin versus Profile Owner

Android 5.0 introduces a new concept of Profile Owner. In my understanding Profile Owner is an advanced version of Device Admin (exists in Android since 2.2). Both Device Admin and Profile Owner can wipe data via DevicePolicyManager.wipeData(0). I…
Vit Khudenko
  • 28,288
  • 10
  • 63
  • 91
2
votes
0 answers

Restriction policies not working for managed profile in Android Lollipop

I am new to Android for work features. I have written a sample app to test the restriction features provided to a profile owner. My sample app creates a managed work profile and sets itself as the profile owner. I tried to apply some restriction…
sudipm
  • 31
  • 3
1
vote
0 answers

Cannot add more managed profiles for user 0

I tried to create managed user using UserManager instead of DevicePolicyManager.But the log is showing Cannot add more managed profiles for user android 0 The below code (AOSP code) is returning always false…
1
vote
0 answers

Possible bug NOT_AVAILABLE_IN_COUNTRY

I am trying to enable policy via Android Management API. { "name": "enterprises/LC03hx99sc/policies/default", "version": "2", "applications": [ { "packageName": "app.caredirect.caredirecthub2", …
dewijones92
  • 1,319
  • 2
  • 24
  • 45
1
vote
1 answer

How to enable status bar in KIOSK mode for 7.0 device?

I have been developing a KIOSK application where i am unable to enable status bar for devices running OS 7.0 or below. I have enabled all the settings in my policy e.g. "statusBarDisabled": false, "kioskCustomization": { "powerButtonActions":…
Zubair Rehman
  • 2,335
  • 2
  • 20
  • 25
1
2 3