Storing and Retrieving Data
Storing and Retrieving Data
Beyond the basics, Android also allows applications to share data through
a clever URI-based approach called a ContentProvider. This technique
combines several other Android concepts, such as the URI-based style of
intents and the Cursor result set seen in SQLite, to make data accessible
across different applications. To demonstrate how this works, you’ll create
another small sample application that uses built-in providers, then we’ll
walk through the steps required to create your own ContentProvider.
Using preferences