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 content providers. Typically, a content provider is backed by a SQLite database where the underlying data is stored. In this chapter, you will 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 ...

Get Advanced Android™ Application Development, Fourth Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.