Chapter 9. Databases and Storage
As you’re writing your new, world-changing application you will sometimes need to store information directly on the phone. This information can be simple files, or caches to serialized versions of data, or even a full-fledged database. Because the storage is on the phone, it is important to understand all your options so that you can make the right decision about where to store information as well as take the fewest system resources necessary to do the job. In this chapter you will learn how to make those decisions as well as implement them.
Apps need data. Data needs to be persistent. That’s the big picture. You need to be able to store data on a phone for use by your application. That data needs ...