x
Menu

Android For Beginners

Other,

Updated On 02 Feb, 19

Overview

Includes

Lecture 8: Content Providers, Operations in Content Providers (Part - 8)

4.1 ( 11 )


Lecture Details

Join us and Take a FREE Webinar on Android httpwww.edureka.coandroid-development-certification-course

This android tutorial talks about Content Provider in detail

Content Provider
-------------------------

The need for Content Providers arises because the database created in one application is not visible to a second application.

It is simple to create and store database in different applications using SQLite, however the problem is this, a database in Android is private to the application that creates it. There is no common storage area in Android that every application can access. Therefore, for different applications to use a database, Android system needs an interface that allows such inter-application and inter-process data exchange. This is where content provider comes to play.

Content providers are very important in terms of Android applications, providing content to applications. They encapsulate data and provide it to applications through the single ContentResolver interface. If you want to share data between multiple applications then a content provider will be needed..

e.g. Uploading a photo in Facebook Application

Content providers support the following basic operations

1) Querying Queries the Content Provider for all the objects, based on the specified URI.
2) Delete Deletes the specified objects from the database of a Content Provider.
3) Update Makes updates to the objects in the database.
4) Insert Inserts new object to the database.

Read More about Content Providers at httpwww.edureka.coblogbeginner-android-tutorials-content-provider
----------------------------------------------------------------------------

Please write back to us at support@edureka.in or call us at +91-8880862004 for more information.
httpwww.edureka.co

Use the link to watch all videos of this session
httpwww.youtube.complaylist?list=PL9ooVrP1hQOHiWL2R-gYcF8oA4yPJKTNb

Ratings

0


0 Ratings
55%
30%
10%
3%
2%
Comments
comment person image

Sam

Excellent course helped me understand topic that i couldn't while attendinfg my college.

Reply
comment person image

Dembe

Great course. Thank you very much.

Reply
Send