android蓝牙调试程序问题,手机突然出现黑屏,我的手机是华为U8860
直接上代码了,解决过的帮帮忙吧!11-28 16:10:10.392: E/BluetoothChatService(8013): accept() failed
11-28 16:10:10.392: E/BluetoothChatService(8013): java.io.IOException: Operation Canceled
11-28 16:10:10.392: E/BluetoothChatService(8013): at android.bluetooth.BluetoothSocket.acceptNative(Native Method)
11-28 16:10:10.392: E/BluetoothChatService(8013): at android.bluetooth.BluetoothSocket.accept(BluetoothSocket.java:287)
11-28 16:10:10.392: E/BluetoothChatService(8013): at android.bluetooth.BluetoothServerSocket.accept(BluetoothServerSocket.java:105)
11-28 16:10:10.392: E/BluetoothChatService(8013): at android.bluetooth.BluetoothServerSocket.accept(BluetoothServerSocket.java:91)
11-28 16:10:10.392: E/BluetoothChatService(8013): at com.example.android.BluetoothChat.BluetoothChatService$AcceptThread.run(BluetoothChatService.java:259)
11-28 16:10:17.048: E/BluetoothChatService(8013): disconnected
11-28 16:10:17.048: E/BluetoothChatService(8013): java.io.IOException: Operation Canceled
11-28 16:10:17.048: E/BluetoothChatService(8013): at android.bluetooth.BluetoothSocket.readNative(Native Method)
11-28 16:10:17.048: E/BluetoothChatService(8013): at android.bluetooth.BluetoothSocket.read(BluetoothSocket.java:307)
11-28 16:10:17.048: E/BluetoothChatService(8013): at android.bluetooth.BluetoothInputStream.read(BluetoothInputStream.java:96)
11-28 16:10:17.048: E/BluetoothChatService(8013): at com.example.android.BluetoothChat.BluetoothChatService$ConnectedThread.run(BluetoothChatService.java:404)
11-28 16:10:19.801: E/BluetoothChatService(8013): accept() failed
11-28 16:10:19.801: E/BluetoothChatService(8013): java.io.IOException: Operation Canceled
11-28 16:10:19.801: E/BluetoothChatService(8013): at android.bluetooth.BluetoothSocket.acceptNative(Native Method)
11-28 16:10:19.801: E/BluetoothChatService(8013): at android.bluetooth.BluetoothSocket.accept(BluetoothSocket.java:287)
11-28 16:10:19.801: E/BluetoothChatService(8013): at android.bluetooth.BluetoothServerSocket.accept(BluetoothServerSocket.java:105)
11-28 16:10:19.801: E/BluetoothChatService(8013): at android.bluetooth.BluetoothServerSocket.accept(BluetoothServerSocket.java:91)
11-28 16:10:19.801: E/BluetoothChatService(8013): at com.example.android.BluetoothChat.BluetoothChatService$AcceptThread.run(BluetoothChatService.java:259)
--------------------编程问答-------------------- 这是运行时出现的错误提示,真无语了 --------------------编程问答-------------------- 是啊!到现在还没找到答案
补充:Java , Java相关