Skip to content

Instantly share code, notes, and snippets.

@javajosh
Created April 7, 2012 23:19
Show Gist options
  • Save javajosh/2332779 to your computer and use it in GitHub Desktop.
Save javajosh/2332779 to your computer and use it in GitHub Desktop.
This is the output of my attempt to add BluetoothChat to my app
04-07 16:18:33.203: D/BluetoothChatService(1893): Socket TypeSecurecancel Thread[AcceptThreadSecure,5,main]
04-07 16:18:33.203: E/BluetoothChatService(1893): Socket Type: Secureaccept() failed
04-07 16:18:33.203: E/BluetoothChatService(1893): java.io.IOException: Operation Canceled
04-07 16:18:33.203: E/BluetoothChatService(1893): at android.bluetooth.BluetoothSocket.acceptNative(Native Method)
04-07 16:18:33.203: E/BluetoothChatService(1893): at android.bluetooth.BluetoothSocket.accept(BluetoothSocket.java:287)
04-07 16:18:33.203: E/BluetoothChatService(1893): at android.bluetooth.BluetoothServerSocket.accept(BluetoothServerSocket.java:105)
04-07 16:18:33.203: E/BluetoothChatService(1893): at android.bluetooth.BluetoothServerSocket.accept(BluetoothServerSocket.java:91)
04-07 16:18:33.203: E/BluetoothChatService(1893): at com.example.android.BluetoothChat.BluetoothChatService$AcceptThread.run(BluetoothChatService.java:302)
04-07 16:18:33.203: D/BluetoothChatService(1893): Socket TypeInsecurecancel Thread[AcceptThreadInsecure,5,main]
04-07 16:18:33.203: I/BluetoothChatService(1893): END mAcceptThread, socket Type: Secure
04-07 16:18:33.203: E/BluetoothChatService(1893): Socket Type: Insecureaccept() failed
04-07 16:18:33.203: E/BluetoothChatService(1893): java.io.IOException: Operation Canceled
04-07 16:18:33.203: E/BluetoothChatService(1893): at android.bluetooth.BluetoothSocket.acceptNative(Native Method)
04-07 16:18:33.203: E/BluetoothChatService(1893): at android.bluetooth.BluetoothSocket.accept(BluetoothSocket.java:287)
04-07 16:18:33.203: E/BluetoothChatService(1893): at android.bluetooth.BluetoothServerSocket.accept(BluetoothServerSocket.java:105)
04-07 16:18:33.203: E/BluetoothChatService(1893): at android.bluetooth.BluetoothServerSocket.accept(BluetoothServerSocket.java:91)
04-07 16:18:33.203: E/BluetoothChatService(1893): at com.example.android.BluetoothChat.BluetoothChatService$AcceptThread.run(BluetoothChatService.java:302)
04-07 16:18:33.203: I/BluetoothChatService(1893): END mAcceptThread, socket Type: Insecure
04-07 16:18:33.203: D/BluetoothChatService(1893): setState() 1 -> 0
04-07 16:18:33.203: E/BluetoothChat(1893): --- ON DESTROY ---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment