-1

Normally in desktop applications we see that the patch only applies to the part of the application that were updated, but for Android applications we need to reinstall the whole package. I mean we need to download the whole installer again. Are there any reasons (security) for this?

phuclv
  • 37,963
  • 15
  • 156
  • 475
P basak
  • 4,874
  • 11
  • 40
  • 63

2 Answers2

0

The installation package, the .apk file, is signed as one entity. Android makes sure that either everything is ok or it will not install it.

But, you can split your application into different parts and update them separately since Android offers a way to let applications that share the same certificate interact in more ways than applications that do not share certificate.

Read more here about signing your application and your options: http://developer.android.com/tools/publishing/app-signing.html

HonkyTonk
  • 1,961
  • 11
  • 11
0

It doesn't. In fact modern Google play will just download the differences between the new and old versions, not the whole package. If you update apps often you'll notice that it reports the download size as many MBs but after downloading just a few hundred KBs the installation starts immediately

Google Play has begun to introduce "delta", partial updates, the download only of the new code, reducing data traffic on smartphones.

Google Play delta updates allow to the users to save data traffic included in their subscription or simply shorten the time to download applications.

The Instagram update to the version 3.0, released in the Google Play store Thursday, August 16, 2012, included a packet of only 3MB in size instead of full application of 13MB.

http://www.byetech.com/2012/08/google-play-has-started-to-offer.html

Community
  • 1
  • 1
phuclv
  • 37,963
  • 15
  • 156
  • 475
  • I heard it is not working anymore and google has reverted that option. http://productforums.google.com/forum/#!msg/mobile/5c6brgpZqVY/FtsdQMSFfBgJ http://forum.xda-developers.com/showthread.php?t=2259904 – P basak Aug 15 '13 at 08:29
  • A few days ago my google play still do partial update normally. Not very sure because I wasn't looking carefully at the updating process but I think so. – phuclv Aug 15 '13 at 08:32
  • I tested just now it is downloading the whole package. – P basak Aug 15 '13 at 08:41
  • are you sure that the application you're updating has minimal change – phuclv Aug 15 '13 at 08:47