This week's book giveaway is in the OCP forum.
We're giving away four copies of OCP Java SE 8 Programmer II Exam Study Guide and have Kathy Sierra, Bert Bates, & Elizabeth Robson on-line!
See this thread for details.
Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

what is the different between sqlite database & content providers?  RSS feed

 
Ranch Hand
Posts: 1280
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is the different between sqlite database & content providers?
both store data & we can retrive them as we need ?
 
Rancher
Posts: 42975
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1280
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 154
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Exactly, that definition is the perfect one
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!