Skip to main content

Some Android app updates could cut their file sizes by 65 percent or more

As any Android smartphone owner knows, updates from the Google Play Store can come quite frequently for many popular apps. They can also use up data if updates are conducted on a cellular network. Today, Google announced a new approach for Android app downloads. The good news is this method could solve the problem of using a ton of data for such updates.

In a blog post, Google describes the new approach, which it calls File-by-File patching. In the old days, Android apps were updated by downloading the app’s entire APK file. In 2016, the company began using the bsdiff algorithm to cut app file size updates by 47 percent. File-by-File patching can go even further, reducing app updates by an average of 65 percent. In fact, some app updates could be cut down by as much as 90 percent with this method.
Normally, an APK file is compressed using a technology called Deflate, but Google says any change to the app’s original uncompressed content “can make the compressed output of deflate look completely different.” Google uses File-by-File patching to achieve its results by detecting the changes in the uncompressed data. Google says this allows apps to uncompress the data, then apply a patch, and then recompress that data back to the same number of bytes that were originally uploaded by the publisher.
The good news is that the actual file size for each update can go down, but the bad news is that it does take more time to apply that same patch on a smartphone, due to the extra processor power that is needed. Google says it will apply the new File-by-File patching method to Android apps that take place in the background. If you plug in your smartphone at night, your apps will likely use this method to auto-update themselves while you are sleeping.

Comments

Popular posts from this blog

Motorola event next month, could be foldable phone launch

Motorola has been working on a foldable phone for months now, according to numerous leaks this year. Fortunately, it seems like we won’t have to wait too long for the device. The manufacturer has sent out press invites to a November 13 launch event, and Android Central‘s invitation includes a teaser GIF (seen below). This teaser apparently shows an old flip phone transforming into what could be the new Motorola foldable phone. This all suggests that we’ll finally see the company’s leaked RAZR foldable phone at the event. Previous leaks paint a picture of a pricey device with upper mid-range specs. The Motorola foldable phone is tipped to arrive with a Snapdragon 710 processor (no flagship chipset here), 4GB or 6GB of RAM, and 64GB or 128GB of storage. The phone is also expected to arrive with a 2,730mAh battery, which is definitely small for a smartphone (foldable or not). As for details related to the foldable design itself, we’re apparently looking at a 6.2-inch OLED s

Lenovo Yoga Book with Halo keyboard launching in India on December 13

Lenovo Yoga Book, the tablet hybrid will launch in India on December 13. The company has sent out media invites for an event where the company will announce its hybrid tablet with a never seen before design.   Lenovo Yoga Book running Android or Windows was first showcased at IFA 2016. Lenovo says Yoga Book is the thinnest laptop hybrid and it is unlike anything else available in the market. Under the heart of Lenovo Yoga Book is an uninspiring Intel Atom x5-Z8550 processor, which Lenovo finds as a common thread in the world of Android and Windows. The device features a 10.1-inch IPS LED display with a full HD resolution of 1920 x 1200 pixels. The interesting part, however, is the other half of the device which basically skips traditional keyboard for a Halo effect. Yes, the keyboard is literally called Halo keyboard and it appears on demand, similar to the virtual keyboard on your smartphone.   Lenovo Yoga Book's Halo surface also accepts Pen input which allows

Cyanogen Inc. shuts down services and OS; open-source CyanogenMod project will remain

Sneaking the big news on the long holiday weekend,  Cyanogen Inc.  has announced discontinuation of the operating system and all services by December 31. Per the official statement, CyanogenMod OS and source code will remain available for the community. The ambitious startup aimed to build a better version of Android, but the software received lukewarm response because the OEMs didn’t want to ditch the Google ecosystem. And then, there were issues with partners like OnePlus who ditched the alliance immediately after the first outing with OnePlus One. The announcement was made in a very uncharacteristic and brief bog post: As part of the ongoing consolidation of Cyanogen, all services and Cyanogen-supported nightly builds will be discontinued no later than 12/31/16. The open source project and source code will remain available for anyone who wants to build CyanogenMod personally. While surprising, the announcement isn’t shocking, really. The company had recently lai