防止自动更新
应用程序(从 Android 市场下载)是否可以检查它是否设置为自动更新,如果是,则禁用该选项?
我查看了 PackageManager
和各种相关的包类,但找不到任何东西。
这并没有什么邪恶的地方 - 这是 Beta 测试中的一个利基应用程序,我建议用户出于各种原因禁用自动更新,但我认为有些人还没有这样做,我想强制它进行 Beta 测试阶段至少。
Is it possible for an app (downloaded from the Android Market) to check whether it's set for Automatic Updates and, if so, disable that option?
I've looked at PackageManager
and various associated package classes but can't find anything.
There's nothing nefarious about this - it's a niche app in beta testing and I've advised users to disable automatic updates for various reasons but I think some haven't done this and I'd like to force it for the beta phase of testing at least.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我得出的结论是,实际上是 Android Market 应用程序具有允许或不允许自动更新的设置。我留下了这个问题,以防其他人正在寻找类似的答案。
I came to the conclusion that it's actually the Android Market app which has the setting to allow automatic updates or not. I've left the question just in case anybody else is looking for a similar answer.