Android - communicating between two devices

后端 未结 8 1138
栀梦
栀梦 2020-11-29 00:59

What is the best way for an Android app installed on two devices to communicate with each other? Can the devices connect directly without using text messaging?

8条回答
  •  一向
    一向 (楼主)
    2020-11-29 01:52

    you should have a look at WifiDirect

    Wi-Fi peer-to-peer (P2P) allows Android 4.0 (API level 14) or later devices with the appropriate hardware to connect directly to each other via Wi-Fi without an intermediate access point.

提交回复
热议问题