问题描述
我在一个月前上传我的应用程序到Android市场。现在,我已经上传了新的版本。我安装我的设备上旧版本。但我没有得到更新通知。有没有可用于发送更新通知到用户,当我更新我的应用程序到Android市场的任何选项?
I uploaded my app to android market a month ago. Now I have uploaded its new version. I have old version installed on my device. But I have got NO update notification. Is there any option available to send update notifications to users when I update my application to Android Market?
推荐答案
不是默认:市场通知是不是以任何方式接触到的应用程序开发人员。如果你想通知你的用户,你需要建立一个到你的应用程序:建立一个公开的HTTP URL,报告了最新版本的服务器,然后使用 AlarmManager
调用该URL,并查看是否在设备上的版本是相同的最新版本。如果不是弹出消息或通知,并把它们发送到市场进行升级。说明同样的事情here.
Not by default: the market notifications are not something exposed to app developers in any way. If you want to notify your users you'll need to build that into your app: set up a server that exposes an HTTP url that reports the latest version, then use an AlarmManager
to call that URL and see if the version on the device is the same as the latest version. If it isn't pop up a message or notification and send them to the market to upgrade. Same thing described here.
这篇关于Android应用程序更新通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!