• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Communication between two apps

Hi all!

I've seen just an old post about this without so much feedback. So bumping it and adding some questions about.

I'm figuring how to communicate 2 mobile Apps located in the same terminal. One is UE4 App and the other not ( last one launches a Unreal Engine App on Android for instance). Both requires share some info, text files right now.

Could work sending some TCP/UDP/WebSockets packages between 2 Apps.. Has anyone experience about it?

Also could work to share a folder for both Apps. So they can read/write there:
  • Is it possible to get a generic folder path ( external ) for both Apps using any internal Android function?
  • "Command line" arguments won't work. Is there something I can do pass arguments before to launch the 2nd App ( Intents ? )
Cheers!
 
Networks Sockets:

Do you know any (cross platform) market Apps doing that? Not sure how mobile SO deal with long periods of network messaging. Could provoke this some "auto closing connections" issues?​

Sharing files:

Nice reference that !

I could use this solution in 2 different ways: Way A: just share a string ( an external path folder ) or B: send the whole file from one App to the other and vice-versa. Would be easier use way A.. What about read/write data ( folder and files) access permissions for both Apps.
 
Back
Top Bottom