Chapter 12. Creating and Using Content Providers
In This Chapter
• Understanding the Android Content URI
• Creating a Custom Content Provider
• Implementing the getType
, query
, insert
, update
, and delete
Methods
Content providers allow users to share data between multiple applications. They also provide access to a structured set of data enabling us to query, modify, add, and delete data.
What Is a Content Provider
A content provider acts as a data store and provides an interface to access its contents. Unlike a database, where information can be accessed only by the package ...
Get Android™ Programming Unleashed 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.