Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

send data from a mobile app to another mobile app on the same device

Discussion in 'VR' started by MohamedGalal, Dec 29, 2018.

  1. MohamedGalal

    MohamedGalal

    Joined:
    Nov 24, 2015
    Posts:
    1
    Hi everyone!
    I need help
    I want to send data from a mobile app to another mobile app on the same device with Unity
     
  2. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,859
    What kind of mobile device?
     
  3. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,350
    is that some simple data (like send number or string once), or streaming data, or something else?

    maybe some options:
    - use external server, send data to server from app#1, then read from app#2
    - (android) intent call with parameters, similar to https://medium.com/@agrawalsuneet/native-android-text-sharing-in-unity-app-23f7f8e69978
    - save to sdcard (android only)
    - save to gallery (as image data..)
    - if 'run as background is enabled', maybe the app can listen udp/tcp port (or some other way to run background process)
     
  4. jackmarton

    jackmarton

    Joined:
    Feb 20, 2018
    Posts:
    1
    I am trying to transfer data from one app to another using Android device. I was trying all the above options, but its still not working. I also tried to search this question on different forum, but not get a proper solution.

    Please share the solution!