The following is the first few sections of a chapter from The Busy Coder's Guide to Android Development, plus headings for the remaining major sections, to give you an idea about the content of the chapter.
Backing up your PC used to be essential. To some extent, it still is, but as more and more stuff moves to “the cloud”, local machine backups become less and less important.
Backing up mobile devices historically has been an afterthought, as a lot of what people use these devices for are gateways to Internet-hosted content and services. However, as more and more stuff becomes local to the device — for disconnected operation, for example — the greater the need for backing up that local data.
Android does not have a full-device backup as part of the OS. It does have some hooks that Google advertises as being “backup”, but IT professionals would not consider Google’s definition to match their own for “backup”. And, what hooks there are exist at the level of an app, not the device, providing opportunity — and requirements — for developers to tailor what gets backed up and, to a lesser extent, how it gets backed up.
This chapter will explore the steps to back up your app’s data, with and without Google’s assistance.
Understanding this chapter requires that you have read the core chapters, particularly the ones on file access and Internet access.
Having read the chapters on SSL and SQLCipher for Android are not required but may prove to be useful background for some of the side topics in this chapter.
The preview of this section was last seen in the Bermuda Triangle.
The preview of this section apparently resembled a Pokémon.
The preview of this section was abducted by space aliens.
The preview of this section was eaten by a grue.
The preview of this section was accidentally identified as an Android 'tasty treat' by the Cookie Monster.
The preview of this section left for Hollywood to appear in a reality TV show.