Get to know ContentProviders
Description
Android uses content providers for abstracting data into services.
Content providers play a significant role in sharing data between applications.
Content providers makes data sources look like REST-enabled data providers, such as web sites.
To retrieve data from a content provider or save data into a content provider, you will need to use a set of REST-like URIs.
Example
For example, if you were to retrieve a set of books from a content provider that is an encapsulation of a book database, you would need to use a URI like this:
content://com.android.book.BookProvider/books
To retrieve a specific book from the book database, you would need to use a URI like this:
content://com.android.book.BookProvider/books/101
Any application on the device can make use of these URIs to access and manipulate data.