安卓市场
我想知道官方的 google Android Marketplace 应用程序是否可以访问操作系统中的某些受限功能,或者它是否只使用可用的标准 API。有人了解此事的最新情况吗?
更新
是否可以获得制造商签名的应用程序,以便您可以访问这些功能,或者谷歌必须这样做吗?
I'm wondering whether the official google Android Marketplace application has access to some restricted functionality in the OS, or if it just uses the standard APIs available. Anyone up to date on this matter?
Update
Would it be possible to get an application signed by the manufacturer so that you can access these functionalities, or does google have to do this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Market 做了一些第三方应用程序无法做的事情——最值得注意的是能够在不经过权限屏幕的情况下安装应用程序(允许它在下载应用程序之前验证权限)。
这不是签名的问题——Market 是使用 Google 的证书进行签名的,而不是使用设备的证书进行签名。它所做的特殊事情是作为系统映像的一部分捆绑的应用程序可用的功能。如果 Market 作为第三方应用程序提供,它将无法执行这些操作。同样,制造商在其系统映像中包含的第三方应用程序将能够通过存在来访问一些附加功能。
从历史上看,Market 还使用了许多私有 API,它可以使用这些 API,因为它始终与设备捆绑在一起,因此如果其中一个 API 发生更改,制造商只需确保修复该问题即可运行 Market 。随着时间的推移,我们一直在清理它,以使其使用更少的私有 API。
Market does a few things that third party applications can't do -- most notable is being able to install apps without going through the permission screen (allowing it to verify permissions before downloading the app).
This is not a matter of signing -- Market is signed with Google's cert, not with a device's cert. The special things it does are features available to apps that are bundled as part of the system image. If Market were made available as a third party app, it would not be able to do these things. Likewise a third party app that is included by a manufacturer in their system image will have access to some additional functionality by virtue of being there.
Historically Market has also used a number of private APIs, which it could live with because it is always bundled with the device, so if one of those APIs changes the manufacturer will just need to make sure that they fix that to be able to run Market. Over time we have been cleaning that up to have it use many fewer private APIs.
Android Market 是设备签名固件的一部分,而不是 SDK 应用程序。因此,它“可以访问操作系统中的一些受限功能”。例如,虽然 SDK 应用程序可以请求安装应用程序,但它无法卸载应用程序。
The Android Market is part of the signed firmware of the device, and it is not an SDK application. Hence, it "has access to some restricted functionality in the OS". So, for example, while an SDK application can request to install an app, it can't uninstall an app.