这里是套接字的代码。
public void setBluetoothSocket ( BluetoothSocket socket1 ) { socket = socket1; } public BluetoothSocket getBTSocket() { return socket; }
请告诉我该怎么办。
我正在android studio中构建BTchat应用程序项目,第一个活动建立了连接,连接设备后,我们移至下一个活动。我已经使用了一个应用程序...