This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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 liyanage
Ranch Hand

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

Joined: Mar 22, 2005
Posts: 41087
    
  43
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.


Ping & DNS - my free Android networking tools app
sam liyanage
Ranch Hand

Joined: Nov 25, 2008
Posts: 1071
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: 146

Exactly, that definition is the perfect one
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: what is the different between sqlite database & content providers?
 
Similar Threads
Hello Android
Content Provider for sdcard
Large Files
Android - update SQLite
relational or object