in the iOS world data can be exchanged between applications through the use of Open Protocol. For example if I have an e-mail with a pdf attachment I can open it into PDFExpert, even if the apps runs on a SandBox and they don’t have share file system.
In case of Android I noticed that such a procedure is different, for example I can save a document into the file system let’s say /mnt/Apps_Name and then I can reopen that document in an other apps.
Is there a way to have the user to experience data/documents exchanging between apps like in the iOS World? Do you have any example? Some references to the official documentation? Do they need some Bonjour or Zero Conf implementation?
Maybe the Intent approach is what you are looking for. By setting an action to an Intent, let’s say for example, ACTION_VIEW, you set the corresponding data in the Intent (i.e. a pdf file), and the system determines which apps are capable of showing that information. If more than one app are capable, usually a dialog promps to let the user decide the app.
View PDF example:
Intents feature is one of my favourites in Android Development. See for example how easy is to share any file/text/image/… without the pain of implementing any Oauth/Oauth2….
Result: