DbAdapter class versus ContentProvider whats the difference in android?

I would definitely recommend investing some time learning how to write a ContentProvider. They are a little daunting at first but once you've mastered the concept you'll get payback bigtime; especially if you're creating a moderately complex app.

Up vote 0 down vote favorite share g+ share fb share tw.

Android sqlite contentprovider android-contentprovider link|improve this question asked Jun 5 '11 at 9:41jamen736 95% accept rate.

I would definitely recommend investing some time learning how to write a ContentProvider. They are a little daunting at first but once you've mastered the concept you'll get payback bigtime; especially if you're creating a moderately complex app. When using a ContentProvider: Content providers can be used from other processes and are required by some mechanisms on Android like the global search Other apps will be able to access your data.

You can wrap and abstract a lot of the query logic in your content provider, and limit access. You will be able to lean on the system to allow for things like managed queries. Indeed the ContentProvider is a wrapper around your DBAdapter providing standard method such as query, update, delete etc. Here is a good tutorial: thinkandroid.wordpress.com/2010/01/13/wr....

OMG these is indeed the kind of answers android. Developer should be putting up so that first time learners have a good idea of whats impt and whats not! THanks Damian once again!

– jamen Jun 6 '11 at 4:38.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions