gpt4 book ai didi

android - 我如何获得(或绕过)Android DPC 支持库?

转载 作者:塔克拉玛干 更新时间:2023-11-02 21:14:15 27 4
gpt4 key购买 nike

我正在尝试为 Android 实现 MDM 客户端应用程序,在 Android For Work 世界中被称为设备策略 Controller 或 DPC。 Google 构建 DPC 的文档是 here .

记录过程 begins下载 DPC 支持库。不幸的是,download link they provide (到“EMM 社区的技术集成”部分)不起作用:系统提示您使用 Google 帐户登录,但这样做后我看到了:

We’re sorry...

...but it looks like you don’t have access to this place or content. If you think you should have access to this space, try logging out and back in again using your account menu accessible by clicking your avatar in the top right corner of this page. If this issue persists, please notify your Support Representative and we will troubleshoot further.

其他人也有同样的问题:有一个 issue ticket raised here只有 2 个月大,没有答案,但出于某种原因被标记为假定已回答,然后被忽略。

steps documented here非常清楚 DPC 支持库是该过程的必需部分,并且不描述使用它的任何替代方法。

那么,我如何获得 DPC 支持库?是否可以从其他地方获得它?或者失败了,我如何找出它的作用,以便我可以在我自己的代码中手动重现这些步骤?


一些我已经尝试过的步骤:

  1. 我已经成功registered for the EMM Community并可以访问 EMM API . (即我现在从 Enterprises.generateSignupUrl 得到了有效的回应,不再是可怕的“The caller is not registered as an MDM”。)这本身就是一个漫长且令人沮丧的不透明过程。
  2. 我已经构建并运行了 googlesamples/android-testdpc应用程序并查看了源代码。不幸的是,这是一个仅限客户端的演示:它不与 EMM 服务器通信,也不使用 DPC 支持库。具体来说,它不会获取授权 token 以在设备上配置工作配置文件,如记录 here .
  3. 我玩过 public EMM demo system及其 DPC app .这似乎做得很好,但由于它是封闭源代码,我无法查看客户端或服务器的代码。

最佳答案

好吧,我现在可以访问了,所以从这个意义上说,我有了答案,但我不知道它对其他人会有多大用处。

Google 代表回复了我的 forum post here并授予我的组织访问 EMM 社区的权限。启用后,步骤如下:

  • 使用我的工作电子邮件地址创建一个新的 Google 帐户
  • 登录 Cloud Connect使用该帐户的门户网站
  • 点击EMM 社区
  • 向下滚动到特色技术指南部分并查找 DPC 支持库下载链接

关于android - 我如何获得(或绕过)Android DPC 支持库?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45099484/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com