shoujian
V2EX  ›  Android

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

  •  
  •   shoujian · Jul 11, 2012 · 14786 views
    This topic created in 5058 days ago, the information mentioned may be changed or developed.
    自从看了Google I/O 2012的keynote后就对其smart app updates感兴趣,之前没有头绪,今天升级JellyBean 4.1.1 OTA包的时候解包看了下其文件,发现N多的 XXX.apk.p 文件,查了下资料,是补丁文件,但是没法再将其解包出来,个人猜测smart app updates的原理就是与这个有关,不知道群里有没有研究这个的,求指点下如何分离和合并.apk.p文件?多谢。
    2 replies    1970-01-01 08:00:00 +08:00
    meteor
        1
    meteor  
       Jul 12, 2012
    见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  
       Jul 12, 2012
    很可能是对上传的apk做diff,可以是整个apk,也可能是打散的碎片。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3005 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 12:53 · PVG 20:53 · LAX 05:53 · JFK 08:53
    ♥ Do have faith in what you're doing.