Hour 14. Creating a Content Provider

What You’ll Learn in This Hour

Image Retrieving data with a URI

Image Building a content provider

Image Using a content provider in your app

Hour 13, “Using SQLite and File Storage,” introduced SQLite, and you used cursors in your app to access data from the database. You can think of content providers as a bridge between the database and the app. Content providers work with any type of structured data. One reason to use a content ...

Get Android™ Application Development in 24 Hours, Sams Teach Yourself, Third Edition 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.