What do you think would be the best way to make shared memory space between two or more apps?
For example, I’ll have a main app and other apps, containing sort of different plugins for the main app. Therefor the main app should be able to read data from additional apps.
Of course, the simplest way would be to make a folder on the sd memory and store data there, but I don’t want the user to have access to the raw data, as well sd memory is not always available.
Thanks!
Android provides the
Content Providersmechanism for data sharing. AContent Provideris an interface to your application’s database, that allows other application to access your data. This is the preferred solution of data sharing between two applications problem. You can read more aboutContent Providershere. Hope this helps.