开发者

How to block user using older version of my App?

I'm developing an application using flex/AIR and right now it changes all the time due 开发者_如何转开发to its beta condition.

What could be the best way to block all older versions activity and force the user to update the application?

Thanks.

Edit: This must be achieved without any server side language help (ie: php, java)


I think your best shot is to add an autoupdater to your app, and run it when starting your application. Check the Adobe AIR autoupdate framework. You can implement your logic (blocking the application, asking to update, closing it) after you have compared the versions if doesn't match.

This article might also be helpful: Adding autoupdate features to your air application in 3 easy steps (Actually it is a 2 Steps now).


You could create an entry method that checks the applications local version against the remote version number via a service you expose. If the local version does not match your newest version, don't allow the application to proceed. Instead, offer the download link, or automate the downloading/installation process based on your needs.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜