Android:通知用户有新版本
我发现很多用户由于某种原因在新版本发布时没有升级我的应用程序。 有没有办法让我的应用程序查询 Marketplace 应用程序,然后通知用户是否有新版本可用?
I am finding alot of users for some reason are not upgrading my application when new versions come out.
Is there a way for my application to query the Marketplace application and then notify the user if a newer version is available ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
就我个人而言,我认为这并不是那么黑白分明。假设您在应用程序中的某个地方犯了错误。您修复它并部署到市场。但您从崩溃报告中看到,存在旧版本,并且相同的用户继续使用此应用程序。如果同一个用户继续使用该应用程序,他们难道不会宁愿使用不会崩溃的版本吗?在某些时候,他们卸载并将其评级记录为“零星,无用必须卸载” - 即使问题已经解决。
我同意创建重复的逻辑来通知用户有可用的新版本并不是一个好主意 - 但有时添加一些额外的通知告诉用户更新是为了他们自己的利益是有意义的。
我今天刚刚遇到的一个解决这个问题的解决方案来自崩溃报告服务 Bugsense。它允许您向用户发送通知,告知他/她遇到的某个错误已得到修复。我认为这只是良好的服务,告诉用户开发还没有停止。
Personally I don't think it's quite that black and white. Lets say you've made a mistake somewhere in your app. You fix it and deploy to market. But you see from your crash reports that there are old versions out there and same users keep on using this app. If the same user keeps on using the app, wouldn't they rather use a version that does not crash? At some point they uninstall and log their rating as "zero stars, useless had to uninstall" - even though the problem is already fixed.
I agree that it is not a good idea to create duplicate logic that just notifies users about newer versions being available - but sometimes it makes sense to add a little extra notification telling users that updating is for their own good.
One solution, that I just came across today, addressing this issues, is from crash report service Bugsense. It allows to you send a notification to users that a certain error he/she has encountered has been fixed. I think it's just good service and tells users that development has not stopped.
为了呼应这些评论,用户不必升级您的应用程序。
不可以。
您的应用程序可以查询您自己的 Web 服务器,您可以在其中发布版本信息。但是,您需要对此小心一点,因为有多个市场服务器,并且并非所有服务器都同时接收更新,AFAICT。 IOW,我会更多地使用它作为一种后备机制,也许可以在发布更新后一两周后一次性发出“嘿,别忘了,有可用更新”通知。
To echo the comments, users are not compelled to upgrade your app.
No.
Your application can query your own Web server, where you publish version information. However, you need to be a bit careful about this, as there are multiple Market servers, and not all receive updates simultaneously, AFAICT. IOW, I would use this as more of a fall-back mechanism, to perhaps do a one-time "hey, don't forget, there's an update available" notice perhaps a week or two after you publish your update.
最好的办法是在服务器上有一个包含当前版本的数据库字段,并在每次加载应用程序时使用后端服务器中提到的版本检查应用程序版本。
但正如 CommonsWare 提到的,它可能会激怒一些用户。
另一种可能性是有一个“检查更新”按钮,就像我在应用程序本身内部所做的那样。
希望这有帮助......
The best would be to have a DB field with the current version on your server, and check the app version with the version mentioned in the back-end server every time the app loads.
But as CommonsWare mentioned, it might irritate some users.
Another possibility is to have an Check for Update button as I do inside the app itself.
Hope this helps....