I'm working on an iPhone app with inApp payment: whenever the user pays a small sum, he receives an update of the application. The "update" is a sort of new "chapter" in an adventure game and it is made of text and xml files, images, sounds and so on, generically "assets". When the assets are downloaded, they form the content of a new chapter (or stage, or step) inside the application.
I'm looking for advices on how to load all this data: for example, the device, while downloading, could accidentally stop working (low battery, etc.) or it could disconnect for some reason. This way, the integrity of the update would be lost. I researched a little and found solutions with md5 checksum or sockets, but I wanted to ask here too, before starting anything. For example, I wanted to know if it is a good idea to download a big zip file or it would be better to download small uncompressed files.
Any advice is appreciated. Thank you.
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)