Android应用程序更新机制 [英] Android app update mechanism

查看:311
本文介绍了Android应用程序更新机制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是想了解更新通知应用程序的Andr​​oid是如何工作的。什么是更新通知工作要求(谷歌Play商店,谷歌服务??)。任何有用的链接会有所帮助。

I just want to understand how android apps update notification works. What are requirements for update notification to work (Google play store ,google services ??). Any useful link will be helpful.

我觉得Android有什么是用户购买的应用信息,因此,当用户连接到互联网的一些服务应该寻找可用的更新。如果这个假设是正确的话,我想知道用户所拥有的应用程序从设备通过或保持服务器端的信息?我想知道更新将用于侧载应用程序或无法正常工作。

I feel android has information of what are apps purchased by user, so when user connect to internet some service should look for updates available. If this assumption is correct then I want to know information about user owned apps is passed from device or kept server side ?? I wanted to know updates will work for a side loaded app or not.

推荐答案

这是由Play商店的客户端处理。应用历史与谷歌帐户关联,这就是为什么你可以(自动)当你得到一个新的设备安装相同的应用程序。它被保存在服务器上,并缓存在设备上。 Android的跟踪谁安装了特定的软件包(Play商店,侧向载荷等),但一般可以,只要更新与相同的证书签名更新的应用程序。无论你是否将获得有关侧载应用程序的通知是完全应用到Play商店应用。上次我检查,它没有显示通知,但你不能靠这个。如果你正在处理的侧载应用程序,你最好有自己的更新检查机制。

This is handled by the Play Store client. App history is associated with your Google account, that is why you can (automatically) install the same apps when you get a new device. It is kept on the server and cached on the device. Android keeps track of who installed a particular package (Play Store, side-load, etc.), but generally you can update an app as long as the updated is signed with the same certificate. Whether or not you will get notifications about side-loaded apps is entirely app to the Play Store app. Last I checked, it did show notifications, but you cannot rely on this. If you are dealing with side-loaded app, you'd better have your own update check mechanism.

这篇关于Android应用程序更新机制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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