How to share data between two applications?
use sqlite database
use content provider
use content resolver
Content provider is the android component, which has to be used if one application wants to share its data with other application.
Note: Files, SqliteDatabases, Sharedpreference files created by an application is private to only that application. Other application can't directly access it. If programmer exposes database by using content provider, then only that data is accessible to other applications. To communicate with content provider use content resolver.
Back To Top