Android Package Manager-verifyPendingInstall [英] Android Package Manager - verifyPendingInstall

查看:354
本文介绍了Android Package Manager-verifyPendingInstall的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Ice Cream Sandwich中,我看到了程序包管理器的新功能

In Ice Cream Sandwich I see a new function for package manager which is

verifyPendingInstall()

verifyPendingInstall()

允许包监听广播的包验证以响应包管理器.响应中必须包含验证码,该验证码是VERIFICATION_ALLOW或VERIFICATION_REJECT之一."

"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.

有什么想法吗?

没有人有想法吗?

推荐答案

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.

这篇关于Android Package Manager-verifyPendingInstall的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆