This week's book giveaway is in the OCAJP forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
The moose likes Android and the fly likes what is the different between sqlite database & content providers? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "what is the different between sqlite database & content providers?" Watch "what is the different between sqlite database & content providers?" New topic
Author

what is the different between sqlite database & content providers?

sam liya
Ranch Hand

Joined: Nov 25, 2008
Posts: 1236
what is the different between sqlite database & content providers?
both store data & we can retrive them as we need ?
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42952
    
  73
A content provider need not get its data from a DB, although that is probably the most common case. For home screen folders, in particular, it often makes sense to show non-DB data.
sam liya
Ranch Hand

Joined: Nov 25, 2008
Posts: 1236
i found this from site .Is this correct?

ContentProvider are used to provide data from an application to another. ContentProvider do not store the data but provide the interface for other applications to access the data.
zoheb hassan
Ranch Hand

Joined: Apr 01, 2009
Posts: 153

Exactly, that definition is the perfect one
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what is the different between sqlite database & content providers?