签名的应用程序,而不是发布的Andr​​oid市场 [英] Signing an app, but not publishing on Android market

查看:93
本文介绍了签名的应用程序,而不是发布的Andr​​oid市场的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Android系统有一个名为未知来源标志,允许它以安装非市场应用程序的来源。

The Android system has a flag called "Unknown Sources" that allows it to install applications from non-market sources.

如果我签我的应用程序为Android开发者网站(即正在使用的私钥,我从谷歌得到了创建的证书)上的说明,并决定不公布我在Android Market上的应用程序,但承载它在我自己的网站。

If I sign my application as described on the android developer website (i.e. with a certificate that is created using the private keys I got from google), and decide not to publish my application on the android market, but host it on my own site.

将这个应用程序可以通过Android系统视为非市场?将它仍然与未知来源选项关闭安装?

Will this application be considered a non-market by the android system ? Will it still install with the "Unknown Sources" option turned off ?

推荐答案

未知来源允许安装通过下载链接(的apk文件从浏览器)应用程序和无关与code签名。所有应用程序都需要签名,并应张贴之前zipalign'd。

"Unknown Sources" allows for the installation of applications via download links (.apk files from the Browser) and has nothing to do with code signing. All applications need to be signed and should be zipalign'd before posting them.

与其他平台(如黑莓),唯一的要求是,你的应用程序中使用您控制或拥有自己的私钥签名。我不推荐使用不属于自己的钥匙。如果您使用的私钥,其他人能获得,其他人可以发布更新您的应用程序,该系统所​​倚靠的。

Unlike other platforms (like BlackBerry), the only requirement is that your application be signed using a private key you control or own. I recommend against using keys that are not your own. If you use a private key that other people can obtain, other people can post updates to your application that the system will trust.

简短的回答是否定的,它不会通过自己的网站与未知源在设备上禁用安装。

The short answer is no, it will not install via your own web site with "Unknown sources" disabled on the device.

这篇关于签名的应用程序,而不是发布的Andr​​oid市场的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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