请问是否有研究Android的smart app updates的?请教其实现原理和方法

2012-07-11 23:05:55 +08:00
 jerrychoi
自从看了Google I/O 2012的keynote后就对其smart app updates感兴趣,之前没有头绪,今天升级JellyBean 4.1.1 OTA包的时候解包看了下其文件,发现N多的 XXX.apk.p 文件,查了下资料,是补丁文件,但是没法再将其解包出来,个人猜测smart app updates的原理就是与这个有关,不知道群里有没有研究这个的,求指点下如何分离和合并.apk.p文件?多谢。
7545 次点击
所在节点    Android
2 条回复
meteor
2012-07-12 14:35:31 +08:00
见Android Developer网站
https://developer.android.com/intl/zh-CN/about/versions/jelly-bean.html

Smart App Updates
Smart app updates is a new feature of Google Play that introduces a better way of delivering app updates to devices. When developers publish an update, Google Play now delivers only the bits that have changed to devices, rather than the entire APK. This makes the updates much lighter-weight in most cases, so they are faster to download, save the device’s battery, and conserve bandwidth usage on users’ mobile data plan. On average, a smart app update is about 1/3 the size of a full APK update.

其实只是Google Play上对APK更新的改动机制.
不推整个APK了.只更新你需要的apk模块.
imstand
2012-07-12 14:42:36 +08:00
很可能是对上传的apk做diff,可以是整个apk,也可能是打散的碎片。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/42125

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX