Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training,
learning paths, books, tutorials, and more.

Chapter 4. Understanding Content Providers

Android uses a concept called content providers for abstracting data into services. This idea of content providers makes data sources look like REST-enabled data providers, such as web sites. In that sense, a content provider is a wrapper around data. A SQLite database on an Android device is an example of a data source that you can encapsulate into a content provider.

Note

REST stands for RE presentational State Transfer. It is a confounding name for a simple concept which, as web users, everyone is quite familiar with. When you type a URL in a web browser and the web server responds with HTML, you have essentially performed a REST-based "query" operation on the web server. Similarly, when you update some ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training,
learning paths, books, interactive tutorials, and more.