A content provider manages access to a central repository of data.A provider is a part of an Adnroid application,which often provides its own UI for working with the data.However,content providers are primarily intended to be used by other applications, which access the provider using a provider client object.Together,providers and provider clients offer a consistent,standard interfaceto data that also handles inter-process communication and securedata access.
This code describes the basics of the following:
- How content providers work.
- The API you use retrieve data from a content provider.
- The API you use to insert,update,or delete data in a contentprovider.
- other API features that facilitate working wiht providers.
- The following code is useful to create content provider