4. Building Android Content Providers

Applications can access data in other applications on the Android system through content provider interfaces and they can expose internal application data to other applications by becoming a content provider. Typically, a content provider is backed by a SQLite database where the underlying data is stored. In this chapter, you build upon the knowledge of SQLite application databases from Chapter 3, “Leveraging SQLite Application Databases,” by working through two content provider examples.

Acting as a Content Provider

Do you have data in your application? Can another application do something interesting with that data? To share the information in your application with other applications, you need to make the ...

Get Android™ Wireless Application Development Volume II: Advanced Topics, 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.