© Grant Allen 2021
G. AllenAndroid for Absolute Beginnershttps://doi.org/10.1007/978-1-4842-6646-5_19

19. Working with Files in Android

Grant Allen1  
(1)
LONDON, UK
 

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” ...

Get Android for Absolute Beginners: Getting Started with Mobile Apps Development Using the Android Java SDK now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.