android-management-api

How can I locate a device which has been enrolled as a fully managed device?

笑着哭i 提交于 2021-02-10 19:58:26
问题 I'm trying to find out how to locate an Android 9.0 device which has been enrolled using a Service Account and the Android Management API. The documentation does not seem to have any hints for my case. Since there is apparently no way of logging in with a Service Account, I believe I cannot use https://www.google.com/android/find either. 回答1: You can use the Android Management API to turn on "high accuracy" location mode but you will need to use another app to get the location of the device.

How can I locate a device which has been enrolled as a fully managed device?

无人久伴 提交于 2021-02-10 19:58:26
问题 I'm trying to find out how to locate an Android 9.0 device which has been enrolled using a Service Account and the Android Management API. The documentation does not seem to have any hints for my case. Since there is apparently no way of logging in with a Service Account, I believe I cannot use https://www.google.com/android/find either. 回答1: You can use the Android Management API to turn on "high accuracy" location mode but you will need to use another app to get the location of the device.

How can I locate a device which has been enrolled as a fully managed device?

爷,独闯天下 提交于 2021-02-10 19:57:54
问题 I'm trying to find out how to locate an Android 9.0 device which has been enrolled using a Service Account and the Android Management API. The documentation does not seem to have any hints for my case. Since there is apparently no way of logging in with a Service Account, I believe I cannot use https://www.google.com/android/find either. 回答1: You can use the Android Management API to turn on "high accuracy" location mode but you will need to use another app to get the location of the device.

Make phone call while app is in kiosk mode

生来就可爱ヽ(ⅴ<●) 提交于 2020-12-06 04:10:05
问题 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 launching ACTION_CALL intents. However, this app is intended to be run in kiosk mode via Android Management API. Whenever we fire the ACTION_CALL intent, kiosk mode blocks it, although the app is set as default dialer. After some debugging we

How to set a whitelist in web view with Android Management API

本小妞迷上赌 提交于 2020-07-23 01:58:15
问题 I am using Chrome Managed Configurations to set a whitelist with this code in my policy: { "packageName": "com.android.chrome", "managedConfiguration": { 'URLBlacklist': ['*'], 'URLWhitelist': ['chrome://*', 'google.com', 'stackoverflow.com'], 'ForceGoogleSafeSearch': True, 'NTPContentSuggestionsEnabled': False, } } Now, in the Chrome enterprise docs it says there is a way to apply the same settings to Android Web view with the com.android.browser:URLBlacklist restriction, but it does not

How to set a whitelist in web view with Android Management API

删除回忆录丶 提交于 2020-07-23 01:57:19
问题 I am using Chrome Managed Configurations to set a whitelist with this code in my policy: { "packageName": "com.android.chrome", "managedConfiguration": { 'URLBlacklist': ['*'], 'URLWhitelist': ['chrome://*', 'google.com', 'stackoverflow.com'], 'ForceGoogleSafeSearch': True, 'NTPContentSuggestionsEnabled': False, } } Now, in the Chrome enterprise docs it says there is a way to apply the same settings to Android Web view with the com.android.browser:URLBlacklist restriction, but it does not

How to set a whitelist in web view with Android Management API

陌路散爱 提交于 2020-07-23 01:55:51
问题 I am using Chrome Managed Configurations to set a whitelist with this code in my policy: { "packageName": "com.android.chrome", "managedConfiguration": { 'URLBlacklist': ['*'], 'URLWhitelist': ['chrome://*', 'google.com', 'stackoverflow.com'], 'ForceGoogleSafeSearch': True, 'NTPContentSuggestionsEnabled': False, } } Now, in the Chrome enterprise docs it says there is a way to apply the same settings to Android Web view with the com.android.browser:URLBlacklist restriction, but it does not

Disable Android navigation in Kiosk Mode (Android Management API)

不羁岁月 提交于 2020-07-22 21:39:39
问题 We have a Kiosk mode setup completed using Android Management API with our launcher app acting as kiosk app. However customizations applied through policy are not working as per expected. "kioskCustomization": { "systemNavigation":"HOME_BUTTON_ONLY", "statusBar":"SYSTEM_INFO_ONLY", "deviceSettings":"SETTINGS_ACCESS_BLOCKED" } We have this in the policy and it is getting synced to device but still all buttons in navigation bar working and still we can able to access settings. What we need to

Disable Android navigation in Kiosk Mode (Android Management API)

筅森魡賤 提交于 2020-07-22 21:39:27
问题 We have a Kiosk mode setup completed using Android Management API with our launcher app acting as kiosk app. However customizations applied through policy are not working as per expected. "kioskCustomization": { "systemNavigation":"HOME_BUTTON_ONLY", "statusBar":"SYSTEM_INFO_ONLY", "deviceSettings":"SETTINGS_ACCESS_BLOCKED" } We have this in the policy and it is getting synced to device but still all buttons in navigation bar working and still we can able to access settings. What we need to

Kiosk app updates when device not online at consistent times

心不动则不痛 提交于 2020-07-10 06:04:50
问题 Background I currently maintain a Kiosk app on devices managed by the Android Management API. These devices run Android 7. I had been managing the app updates on these devices via the application minimumVersionCode , and moving the devices onto a new policy every time with a higher minimumVersionCode , forcing the affected devices to update the app. However some of the devices would factory reset if they had been off for a reasonable period of time (a week or two) even after extending the