Android 包管理器 - verifyPendingInstall
在 Ice Cream Sandwich 中,我看到包管理器的一个新函数
verifyPendingInstall()
“允许包侦听包验证广播以响应包管理器。响应必须包含验证代码,该验证代码是 VERIFICATION_ALLOW 或 VERIFICATION_REJECT 之一。”
http://developer.android.com/sdk/api_diff/14/changes.html
我很想知道它的含义,因为我不太清楚它在这里试图做什么之前没有做过的确切区别以及它将实现什么目的。
有什么想法吗?
编辑:没有人有任何想法吗?
In Ice Cream Sandwich I see a new function for package manager which is
verifyPendingInstall()
"Allows a package listening to the package verification broadcast to respond to the package manager. The response must include the verificationCode which is one of VERIFICATION_ALLOW or VERIFICATION_REJECT."
http://developer.android.com/sdk/api_diff/14/changes.html
I am curious to know its meaning as it is not very clear to me what exact difference it is trying to do here that was not done previously and what purpose it will achieve.
Any ideas?
EDIT: No thoughts by anyone?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
SO 可能不是讨论的最佳场所。在官方 Android 邮件列表上发帖,也许有人能够提供一些线索。
如果没有记录,最好的选择是检查源代码。粗略地看,它似乎是某种框架的一部分,允许多个包/进程允许或拒绝一个包。对于面向用户的应用程序可能没有用。
SO may not be the best place for discussions. Post on the official Android mailing lists, maybe someone will be able to shed some light.
If it is undocumented, your best bet is to check the source code. From a cursory look, it seems to be part of some kind of framework to allow multiple packages/process to allow or reject a package. Probably not useful for user-facing applications.