Content Provider in Android — Basics
Content Provider in Android — In our series of Android articles, Previously we discussed about Activity , Services and Fragment . Here we are going to discuss about content providers and to cover the basic concepts you need to make use of existing ones or to write content providers on your own. It gets better, What are Content Providers? A Content Provider component supplies data from one application to others on request. Such requests are handled by the methods of the ContentResolver class. A content provider can use different ways to store its data and the data can be stored in files, in a database or even over a network. 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 as most often a record of a database — but they could also be a photo on your SD-card or a video on the web. Content URIs The most important concept ...