sqlite database is private to the application. So if you want to access your sqlite database in any other application, you can use content provider. Even there are some benifits of using content provider private to your app e.g. if you are using CursorLoader or sync adapter in your app.
First we need to declare content provider in AndroidMenifest.xml file