简体   繁体   English

Android Management API 设备安装、删除等

[英]Android Management API devices installation, deletions, etc

I am currently working with an Android Management API (MDM) project.我目前正在处理一个 Android 管理 API (MDM) 项目。 Unfortunately, I cannot find a solution for these issues:不幸的是,我找不到这些问题的解决方案:

  1. Let say I have force_installed an app into my enrolled device - How can I delete the app remotely?假设我已将一个应用程序强制安装到我注册的设备中 -如何远程删除该应用程序?
  2. If I have a few devices with the same policy applied, how can I trigger only one device for installation, deletion, updates, etc..如果我有几台设备应用了相同的策略,我如何只触发一台设备进行安装、删除、更新等。
  1. To Delete an app remotely you just have to remove it from the Policy要远程Delete应用程序,您只需将其从Policy删除
"applications": [
    {
      "packageName": "com.whatsapp",
      "aliasName": "WhatsApp",
      "installType": "FORCE_INSTALLED",
      "lockTaskAllowed": true,
      "defaultPermissionPolicy": "GRANT"
    }
 ]

For example if you have WhatsApp installed, just remove it from the policy and it will uninstall.例如,如果您安装了WhatsApp ,只需将其从策略中删除即可卸载。

  1. If you have the same policy attached to multiple devices you cannot individually control each device.如果您将相同的policy附加到多个设备,则无法单独控制每个设备。 To do so you'd have enroll each device with a new policy为此,您需要为每台设备注册一个new policy

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM