第二次连接蓝牙时候自动退出当前界面
这是退出界面时候logcat的信息
08-16 17:23:56.696: W/System.err(12974): java.io.IOException: bt socket closed, read return: -1
08-16 17:23:56.696: W/System.err(12974): at android.bluetooth.BluetoothSocket.read(BluetoothSocket.java:432)
08-16 17:23:56.696: W/System.err(12974): at android.bluetooth.BluetoothInputStream.read(BluetoothInputStream.java:96)
08-16 17:23:56.696: W/System.err(12974): at java.io.InputStream.read(InputStream.java:162)
08-16 17:23:56.696: W/System.err(12974): at com.sunnysport.dunbbell.ConnectedThread.run(ConnectedThread.java:79)
08-16 17:24:02.576: W/BluetoothAdapter(12974): getBluetoothService() called with no BluetoothManagerCallback
至今都不知道问题出在哪里
这是退出界面时候logcat的信息
08-16 17:23:56.696: W/System.err(12974): java.io.IOException: bt socket closed, read return: -1
08-16 17:23:56.696: W/System.err(12974): at android.bluetooth.BluetoothSocket.read(BluetoothSocket.java:432)
08-16 17:23:56.696: W/System.err(12974): at android.bluetooth.BluetoothInputStream.read(BluetoothInputStream.java:96)
08-16 17:23:56.696: W/System.err(12974): at java.io.InputStream.read(InputStream.java:162)
08-16 17:23:56.696: W/System.err(12974): at com.sunnysport.dunbbell.ConnectedThread.run(ConnectedThread.java:79)
08-16 17:24:02.576: W/BluetoothAdapter(12974): getBluetoothService() called with no BluetoothManagerCallback
至今都不知道问题出在哪里