I am developing a group of sophisticated Android applications that must share common state and configuration settings.
For example, see the picture explaining my scenario:

I want APP 1, APP 2, and APP 3 to be able to access (read / write) the shared storage area. In addition, I need to remove the protection . I do not want the data to be deleted when the user uninstalls any of the applications.
I already read about SQLite, ContentProviders databases and records in internal and external repositories, but each of the above methods has the disadvantages listed below:
- SQLite Database: The database is deleted when the application is deleted and is private for each application.
- ContentProvider: Data is deleted when the application is deleted from ContentProvider.
- Internal storage: personal for each application and data is deleted when the application is deleted ( http://developer.android.com/training/basics/data-storage/files.html#InternalVsExternalStorage )
- External storage: unreliable (user can remove the SD card)
- Store on server: impossible, the user may not have a reliable Internet connection.
EDIT:
I donβt need dependencies on Google Play services, because I will distribute applications through the Play Store and upload third-party files.
Please help me.
android android-contentprovider sqlite android-externalstorage
jazdev
source share