What is advantage of using Content Provider over sqlite database in android?
<p>I have read that content provider is for sharing the data with other application.</p>

<p>In my app I haven't used content provider as I don't need to share my data with other application. So I used sqlite database alone. For underlying dataset change I used loadermanager with forceload content observer for instant loading. </p>

<p>Is this a bad practice? Does all application use content provider? Also I am going to develop new application and in that I am going to use syncadapter, should I go with same approach as I did before or do I need to use content provider?(remember: in this case also I don't want to share my data with other app)</p>