Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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
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: 1072
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: 41112
    
  45
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: 1072
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: 150

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?
 
Similar Threads
Hello Android
Content Provider for sdcard
Large Files
Android - update SQLite
relational or object