Android Tutorial

(avery) #1

By : Ketan Bhimani


328 

Sharing Data Between Applications with Content

Providers

Applications can access data within other applications on the
Android system through content provider interfaces and expose
internal application data to other applications by becoming a
content provider.

First, we take a look at some of the other content providers
available on the Android platform and what you can do with them.
Next, you see some examples of how to use content providers to
improve the sample applications used in previous chapters. Finally,
you learn how applications can become content providers to share
information— for example, with LiveFolders.

Exploring Android’s Content Providers

Android devices ship with a number of built-in applications, many
of which expose their data as content providers. Your application
can access content provider data from a variety of sources. You can
find the content providers included with Android in the package
android.provider. Table lists some useful content providers in this
package.

Useful Built-In Content Providers
Free download pdf