How to transfer “data” between two device (android,iphone)?

后端 未结 5 2039
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-02 01:54

How can i transfer data between two device? I would like to transfer data (mostly image file) between different platforms (android,iphone). Is it possible to use p2p or should i

5条回答
  •  难免孤独
    2021-02-02 02:08

    I would use a WebService. That makes it easier to maintain your service, becuase the Service Implementation is independent of your app.

    Pro Webservice:

    • Reachable under a pre configured DNS
    • Modifications on the Service do not affect the Application (No updates needed on possible bugfixes)

    Contra Webservice:

    • All the traffic goes through your Server
    • Application relies on your Server

    The you should ask yourself the question, how much data is transferred in your communication? Is there a real benefit of using direct connections?

提交回复
热议问题