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

OnePlus 3T launches in India; sales start December 14

The  OnePlus 3T , which was announced a few weeks ago, is already available in some countries. The Chinese manufacturer first started selling its latest flagship in the US and Canada on November 21. A week later, on November 28 to be exact, the OnePlus 3T started selling in Europe as well. Now, the company has announced that it’s bringing the device to one of the biggest smartphone markets in the world — India. The OnePlus 3T will be available exclusively on  Amazon India  with sales starting on December 14 (from 12.01am IST). As in other countries, you’ll be able to choose between the 64 GB or 128 GB model, which will retail for Rs. 29,999 and Rs. 34,999 respectively. Compared with its  slightly older brother , the OnePlus 3T brings a few hardware upgrades to the table. It features the Snapdragon 821 processor, an improved 16 MP selfie camera, a larger 3,400 mAh battery and also comes with a 128 GB of storage option. It’s the company’s most expensiv...