Can I retrieve data from Android Device Policy(ADP?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2024 07:47 PM
Hi Community,
Can I retrieve data directly from Android Device Policy(ADP)? Here is what I found:
1. I can receive device events from pub/sub notifications. The data flow is ADP -> Google Server -> My Server.
2. In the ADP introduction, it says that:
3. In the Android Management API doc, it says that:
My questions are as follows:
- Q1. Is there any way to make data directly back to my server(data flow: ADP -> my server)?
Btw, it seems that existing EMM partners can achieve this by creating their own Device Policy Controller(DPC). Android Enterprise is no longer accepting new registrations for custom device policy controllers (DPC) using the Google Play EMM API. All new EMM solutions should now use Android Management API, which comes with its own DPC provided by Google.
- Q2. If Q1's answer is yes, how can I achieve this? If I develop my own app, is there any way for my app to get device data from ADP?
Any help would be appreciated.
- Labels:
-
Apps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2024 01:00 AM
Hello,
It depends what you are trying to achieve here,
You can create your own agent, install it on the devices to add features on top of the Google Android Management API, what infos are you looking to retrieve?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2024 06:11 PM
Something like system logs, my agent may not have the access. Is there any way to achieve that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2024 01:30 AM
Some logs can be retrieved using the Android Management API.
Also using an app like this one might work https://github.com/darshanparajuli/LogcatReader as you can grant permissions to the app, so you could take inspiration from this app.
![](/skins/images/568F161EEE750CCB16E13453D83787BC/responsive_peak/images/icon_anonymous_message.png)
- Enabling Location Accuracy via EMM in General discussions
- How can I prevent a factory reset triggered by hardware buttons (Power + Volume) on an Android device? in General discussions
- Bluetooth bonding behaviour, when kioskCustomization.deviceSettings is set to SETTINGS_ACCESS_BLOCKED in android management policy in General discussions
- Using passkeys on an Android Enterprise managed device for apps in the work profile in General discussions
- Android Enterprise Recommended and Supported OS version for BYOD device with Work Profile?. in General discussions