本帖最后由 gd920129 于 2012-05-10 00:17:11 编辑

解决方案 »

  1.   

    博主您好:
      下的您的代码,执行到 BluetoothClientConnThread的run中的socket.connect();时报错,报错内容为:
    java.io.IOException: Service discovery failed
    at android.bluetooth.BluetoothSocket$SdpHelper.doSdp(BluetoothSocket.java:455)
    at android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:265)
    at com.ds.bluetoothUtil.BluetoothClientConnThread.run(BluetoothClientConnThread.java:47)
    能帮我解答一下吗
      

  2.   

    正在学习Android,就是为了蓝牙才学的。谢谢。