【发布时间】:2014-10-17 06:03:01
【问题描述】:
我编写了一个应用程序,它强制执行设备策略管理以强制执行 PIN 和屏幕锁定(类似于 http://developer.android.com/training/enterprise/device-management-policy.html),并打算最终将它放在 Google PlayStore 上。 我的应用是否需要使用系统证书进行签名才能执行这些设备管理政策?
【问题讨论】:
标签: android
我编写了一个应用程序,它强制执行设备策略管理以强制执行 PIN 和屏幕锁定(类似于 http://developer.android.com/training/enterprise/device-management-policy.html),并打算最终将它放在 Google PlayStore 上。 我的应用是否需要使用系统证书进行签名才能执行这些设备管理政策?
【问题讨论】:
标签: android
否,您的应用将拥有某些权利并且不需要任何系统证书,它会只需要用户批准允许让您的应用充当管理员。
请从here 下载示例应用程序。 如下图所示,它会请求用户的许可,就是这样。
Will google allow to upload such app on Play-store ?
是的,肯定会允许的。谷歌已经为这类应用披露了这个 API。在 Playstore 中,有许多应用程序使用此 API 作为管理员。即AppLock、AirDroid、AndroidLost
【讨论】:
Settings>Security>Device administrators 中看到应用程序的名称