GeeCON Prague 2014*
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 liya
Ranch Hand

Joined: Nov 25, 2008
Posts: 1160
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: 42031
    
  64
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 liya
Ranch Hand

Joined: Nov 25, 2008
Posts: 1160
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
 
GeeCON Prague 2014
 
subject: what is the different between sqlite database & content providers?