-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Creating Content Providers
Content providers are Android’s central mechanism that enables you to access data of other applications – mostly information stored in databases or flat files. As such content providers are one of Android’s central component types to support the modular approach common to Android. Without content providers accessing data of other apps would be a mess.
Content providers support the four basic operations, normally called CRUD-operations. CRUD is the acronym for create, read, update and delete. With content providers those objects simply represent data – most often a record (tuple) of a database – but they could also be a photo on your SD-card or a video on the web. Let's take a look at how to create a content provider.
Needs Attention, Cliffnotes Here
- http://www.grokkingandroid.com/android-tutorial-writing-your-own-content-provider/
- http://developer.android.com/guide/topics/providers/content-providers.html
- https://thenewcircle.com/s/post/1375/android_content_provider_tutorial
- http://www.grokkingandroid.com/android-tutorial-content-provider-basics/
Created by CodePath with much help from the community. Contributed content licensed under cc-wiki with attribution required. You are free to remix and reuse, as long as you attribute and use a similar license.
Finding these guides helpful?
We need help from the broader community to improve these guides, add new topics and keep the topics up-to-date. See our contribution guidelines here and our topic issues list for great ways to help out.
Check these same guides through our standalone viewer for a better browsing experience and an improved search. Follow us on twitter @codepath for access to more useful Android development resources.