Options for application communication between two android phones

非 Y 不嫁゛ 提交于 2020-01-25 12:53:26

问题


I need to establish communication between two android phones (same application, if it matters).

Is there any possibility for android applications to establish a data stream via bluetooth (so there is no need for internet connection)?

Or (UDP)TCP/IP over internet is currently best solution?


回答1:


Since Android 2.0 it should be possible to use the bluetooth API (see here).




回答2:


In android 1.5, i believe, there's no file transfer via bluetooth. In order to be version agnostic, bump transfers all the data via their servers i believe.



来源:https://stackoverflow.com/questions/2092028/options-for-application-communication-between-two-android-phones

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!