Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Both Android and iOS seem to support their application having a binary delta update. But how does it work? I build a binary program, neither of the distribution sites have the source code - how does the update process know what is changed?

share|improve this question
Look at… and – user40980 Dec 20 '12 at 15:05

Just as you can create a patch for a text (source) file, you can create a patch for a binary file as well.

You are effectively just noting what changed between two files (that's called delta encoding).

For example, if the app contains many resources, then those don't usually change for smaller updates, and only the executable code itself needs to be transferred.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.