IP屬地:海南
運行到socket.connect();就會報錯-->java.io.IOException: read failed, socket might closed or timeout, read ret: -1。
我并沒有任何關(guān)閉連接的代碼。前面匹配都是ok的,這個問題困擾我兩天了,求幫助
Android 藍(lán)牙搜索,配對,連接發(fā)送數(shù)據(jù)首先需要在清單配置里面添加兩個權(quán)限: android里面藍(lán)牙是通過BluetoothAdapter來進(jìn)行操作的,所以首先我們需要獲取到BluetoothAdapter的實例 ...