Managing and Sharing Data

You are already familiar with some of the ways applications can store data persistently:

► They can store simple, primitive data types within SharedPreferences at the application and activity levels.

► They can store data on a remote application server.

Applications can also store and share data by doing the following:

► They can leverage the file and directory structure on the device to store private application files in any format.

► They can store structured data in private SQLite databases.

► They can access data within other applications that act as content providers.

► They can share internal application data by becoming content providers.

You already know how to work with SharedPreferences and how to store data on a network application server, so let's talk about other ways of managing and sharing data.

Was this article helpful?

0 0

Post a comment