If you publish multiple app updates to the Android market, and the us开发者_运维问答er hasn't downloaded them yet, will Android install each update in order when they finally do update or will they only install the most recent one?
The reason I ask is that we have some code to migrate from one data format to another. It would be nice to publish an update that does this migration, and then clean out our codebase to only use the new format going forward. It would be safe to do this is we could be sure the Android Market would install each update in order.
What do you think?
Android Market app will fetch and install the latest version. So if user has version 1.0 and you publish 1.1, then 1.2 and then 1.3, when user tries to update the app it will get version 1.3 directly.
By the way, if what you are upgrading is a Sqlite database, the SqliteDatabase
's getVersion
method could be handy.
精彩评论