How to share data between multiple applications?

1

I have A, B, C and D apps and need to share data from those apps for a specific app (E)

(Basically the login data, to auto login. As Messenger does, retrieving Facebook access data) .

In this way the E app will only receive data from the other applications when prompted. I have already seen and I was able to share data between two applications by SharedPreferences retrieving the context of the package with createPackageContext . But I have more than 4 apps, and specifying the context of all apps in the E application is impractical.

I wanted to know another way to share this data and make this automatic login.

    
asked by anonymous 22.03.2018 / 20:27

0 answers