I have gone through a lot of similar answers, but since a lot of things have changed recently, I wanted to ask it again.
I have an application A that stores data in Shared Preferences. I want application B to be able to access the data stored in the Shared Preferences by application A.
Findings so far -
- We can't use WORLD_READABLE for Shared Preferences, since it has been deprecated.
- We can't use sharedUserId to share data since it has been deprecated.
- I also read that apps signed with the same key can access each other's code and data. But can we access the data just by doing that? (Or do we need to do something else also along with the signing process?). If yes, how?
One of the solutions is to share the data using Content Providers (data source being the Shared Preferences). Are there any other ways to share the data as well?