V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
jerrychoi
V2EX  ›  Android

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

  •  
  •   jerrychoi · 2012-07-11 23:05:55 +08:00 · 7019 次点击
    这是一个创建于 4327 天前的主题,其中的信息可能已经有所发展或是发生改变。
    自从看了Google I/O 2012的keynote后就对其smart app updates感兴趣,之前没有头绪,今天升级JellyBean 4.1.1 OTA包的时候解包看了下其文件,发现N多的 XXX.apk.p 文件,查了下资料,是补丁文件,但是没法再将其解包出来,个人猜测smart app updates的原理就是与这个有关,不知道群里有没有研究这个的,求指点下如何分离和合并.apk.p文件?多谢。
    2 条回复    1970-01-01 08:00:00 +08:00
    meteor
        1
    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
        2
    imstand  
       2012-07-12 14:42:36 +08:00
    很可能是对上传的apk做diff,可以是整个apk,也可能是打散的碎片。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1248 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 21ms · UTC 23:04 · PVG 07:04 · LAX 16:04 · JFK 19:04
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.