Questions tagged [android-work-profile]

27 questions
27
votes
5 answers

Get list of apps of all users

If I want to retrieve an ApplicationInfo list for all apps of the current user, I can just run: PackageManager pkgmanager = ctx.getPackageManager(); List installedApps =…
8
votes
1 answer

Can't install CA certificate on Android 11 on Work Profile

Given self-signed CA certificate file which was generated on device, I'm trying to figure out a way to install it on work profile, since the traditional way of installing CA certificates using android.security.KeyChain.createInstallIntent() no…
Shlomi Katriel
  • 2,103
  • 1
  • 7
  • 20
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. …
5
votes
1 answer

Failed to access dependency component - EMDK barcode - Android Work profile - Xamarin

We are developing an android application with barcode scanning feature. We are using EMDK for barcode scanning. Our application runs in Zebra Mobile handheld (MC33). We are currently facing an issue were the barcode triggering is not happening in…
3
votes
1 answer

Android work profile app: how to push and pull data

I have workprofile app installed, and the location of the data can be access programmatically using getExternalFilesDir("logs") which, results in storage location as /storage/emulated/11/Android/data/com.example.workprofile/files/logs. I would like…
user755
  • 2,521
  • 3
  • 18
  • 29
2
votes
0 answers

Android App Intune Configuration Designer Not Showing

I have a workforce app that can be installed from the Play Store and Intune. When the app is installed and used from Intune Managed Device, I need to report Intune Device ID back to my backend so that we can cross-reference some data with MS Graph…
Bri6ko
  • 1,858
  • 1
  • 18
  • 29
2
votes
0 answers

Launch activity on work profile when read NFC

I have an application that launches an activity when an nfc tag (ndef) is detected. I tested and is working properly. This is simple, in manifest I add this to my activity:
Joel Garcia
  • 61
  • 1
  • 12
2
votes
0 answers

Android Work Profile: android.intent.action.DATA_SMS_RECEIVED never fired

I am working on an application that communicates with a backend over SMS (Actually Data SMS). Outgoing and incoming SMS works perfectly in a regular setup, however one of our users have an Android Work Profile enabled and the app is installed within…
www.jensolsson.se
  • 3,023
  • 2
  • 35
  • 65
1
vote
1 answer

Programatically Check whether my android device has activated work profile or not?

I want to prevent my Android app is running in my personal profile, when my work profile is activated, is there any way to check from my Android app, Android System activated work profile or not? Thank you
1
vote
1 answer

How to disable factory reset button for Company owned Device in Android Management API?

I am setting Factory Reset Protection (FRP) for COMPANY-OWNED device with WORK PROFILE. Such that, user can only bypass using FRP email. Though It works well when the device is hard reset but when the user does the same through Settings -> Backup &…
CHIRAG SAHU
  • 64
  • 1
  • 2
  • 9
1
vote
0 answers

How to check in my Android Device, whether my App running in Work Profile or Personal profile?

I want to check in my Android Device, whether my App running in Work Profile or Personal profile. I'm using testdpc to create work profile.
FGH
  • 2,900
  • 6
  • 26
  • 59
1
vote
4 answers

Android Management API uninstall app from work profile of managed device

I have force_installed an app into my enrolled device by policy. How can I uninstall remotely that app from my enrolled device.
0
votes
0 answers

How to implement restricted clipboard functionality in an Android app

I am working on an Android app and would like to implement a restricted clipboard functionality similar to the Intune Mobile App Management (MAM) feature. The goal is to allow users to perform clipboard operations (cut/copy/paste) within the app and…
Kapil
  • 1,790
  • 1
  • 16
  • 32
0
votes
1 answer

how to hide work profile id from playstore in EMM

I have been working with google Enterprise android management api i have successfully implemented QR code Enrollment of my android device but the problem is that i'm unable to hide the work profile id from play store how may i suppose to do it. I…
0
votes
0 answers

How to accept a wrkprofile device in google console?

I am registering to new work profile as my old phone broke, but i can use it to transfer data/OPTs/authenticator. Now with admin privileges in hand how can I activate my own new device? Any pointers in the google console are appreciated.
1
2