2015-01-14 106 views

回答

0

是你可以通過藍牙服務器連接兩個不同的設備,這裏被命名爲藍牙聊天https://android.googlesource.com/platform/development/+/eclair-passion-release/samples/BluetoothChat一個示例應用程序

其中兩臺設備相互連接並通過消息框進行聊天。 ,如果你想要兩個以上的設備從一個設備,如連接爲Master和Slave 使用BluetoothServerSocket [2]:http://developer.android.com/reference/android/bluetooth/BluetoothServerSocket.html從您可以從一個設備連接高達7個設備。

相關問題