Contents
Android provides two ways for users to share data between apps:
- The Android Sharesheet is primarily designed for sending content outside your app and/or directly to another user.
- The Android intent resolver is best suited for passing data to the next stage of a well-defined task.
6 Answers
- Use a local software port, say localhost:999.
- Make one application as server (listening on this port) and other as client (will connect to server at localhost:999, but will use different port for it’s own use).
- Client will serialize your object to stream.
- Server does de-serialize!
What is API data transfer?
The Data Transfer API manages the transfer of data from one user to another within a domain. One use case of this transfer is to reallocate application data belonging to a user who has left the organization. To use the Data Transfer API, you define a transfer and then initiate it using the insert method.
Since iPhone OS 3.0 it has been possible to share data between a family of applications or containing apps (Like extensions). This can provide a better user experience if you follow the common path of free/premium applications or if you have a set of related applications that need to share some common account settings.
WCF would be my preferred way to do this and I will add some explanation here 1) Use of WCF – Host a WCF service with following functionality [Effort: Moderate]
How to share a list between two applications?
This is not the case. A standard way to do what you need is to create a 3rd application/process that exposes synchronised access to a list that both of the other applications can add/remove items from. If you are gonna use .Net 4.0, you could use Memory Mapped Files.
The most important requirement for sharing Keychain data between two apps is that both apps must have the same app ID prefix. An object that helps a user share data from one place to another within your app, and from your app to other apps.