[英]Communication between Two or more Android devices
Here is my Scenario: 这是我的场景:
I have one Device that has app "a" installed on it. 我有一个设备上安装了应用程序“a”。
I have one or more Devices that have app "b" installed. 我有一个或多个安装了应用程序“b”的设备。
I would like the devices with app "b" to be able to send a signal to app "a" to "register" the device. 我希望带有应用程序“b”的设备能够向应用程序“a”发送信号以“注册”该设备。 From app "a" i would like to be able to send messages back to some or all of the the devices. 从app“a”我希望能够将消息发送回部分或全部设备。 i was wondering if anyone knew any examples of this and the best way to go around doing it. 我想知道是否有人知道这方面的任何例子以及最好的方法。
I have looked into Text Message and Bluetooth but I am looking for something along the lins of Direct connection, treating app "a" as a server. 我已经查看了短信和蓝牙,但我正在寻找直接连接的内容,将应用程序“a”视为服务器。 I have looked briefly into sockets and was wondering peoples opinion of the best way to do this. 我简要地看了一下插座,并想知道人们对这种方法的最佳方式的看法。
Thank you in advance. 先感谢您。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.