In this chapter, we will explore files in detail, including Android’s methods for storing, retrieving, and managing data for your applications. In the following chapter, we will deal with the complementary tools around databases, which together with files represent a wealth of options for data management in your applications. We will also contrast these with Content Providers, Android’s more sophisticated model for data access and management.
The examples in this chapter focus on two broad approaches offered by Android for file-based data. Approach 1 can be considered the “application-embedded” ...