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

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 inpu...

Will anyone be sad to lose Samsung’s physical home button?

The physical home button is a smartphone facet that’s slowly becoming extinct. In 2016, the flagship devices from Google, Sony, LG, and Huawei all lacked such a button on their hardware. Meanwhile, Samsung has been holding onto the physical home button – it was still in place on its most recent flagship, the ill-fated  Galaxy Note 7  – though the company is expected to ditch it on its upcoming flagship, the  Galaxy S8 . But what impact will losing physical home buttons have? To answer that, let’s first explore its origins. The move to touchscreens Though it wasn’t the first device to make use of a touchscreen, much can be attributed to the original iPhone for popularizing it. When numbers and letters could be drawn on a display, there was no longer a need for a traditional keyboard setup, meaning screens were able to occupy a larger space on the handset without increasing the size of the body overall. What’s more, the keys could be contextual: when using the d...