[Nexus 7 Q&A, Help & Troubleshooting] BlackMamba591:
Android Version: 4.4.4

Device Name: Nexus 7

I have downloaded the bluetooth chat app from android studio and setup a project. I am able to run the the application without any errors, but the application is not working and unable to connect to any of the scanned device. I am receiving the log messages as below:

03-21 21:45:38.982 28983-28983/com.example.android.bluetoothchat D/dalvikvm﹕ Late-enabling CheckJNI

03-21 21:45:39.092 28983-28983/com.example.android.bluetoothchat I/System.out﹕ Starting logging

03-21 21:45:39.092 28983-28983/com.example.android.bluetoothchat I/MainActivity﹕ Ready

03-21 21:45:39.092 28983-28983/com.example.android.bluetoothchat D/BluetoothChatService﹕ start

03-21 21:45:39.092 28983-28983/com.example.android.bluetoothchat D/BluetoothChatService﹕ setState() 0 -> 1

03-21 21:45:39.092 28983-28983/com.example.android.bluetoothchat I/System.out﹕ setting mState to : 1

03-21 21:45:39.102 28983-28983/com.example.android.bluetoothchat W/BluetoothAdapter﹕ getBluetoothService() called with no BluetoothManagerCallback

03-21 21:45:39.102 28983-28998/com.example.android.bluetoothchat D/BluetoothChatService﹕ Socket Type: SecureBEGIN mAcceptThreadThread[Thread-1719,5,main]

03-21 21:45:39.102 28983-28983/com.example.android.bluetoothchat W/BluetoothAdapter﹕ getBluetoothService() called with no BluetoothManagerCallback

03-21 21:45:39.102 28983-28983/com.example.android.bluetoothchat I/System.out﹕ Starting bluetooth chat

03-21 21:45:39.102 28983-28999/com.example.android.bluetoothchat D/BluetoothChatService﹕ Socket Type: InsecureBEGIN mAcceptThreadThread[Thread-1720,5,main]

03-21 21:45:39.232 28983-28983/com.example.android.bluetoothchat I/Adreno-EGL﹕ <qeglDrvAPI_eglInitialize:320>: EGL 1.4 QUALCOMM Build: I0404c4692afb8623f95c43aeb6d5e13ed4b30ddbDate: 11/06/13

03-21 21:45:39.262 28983-28983/com.example.android.bluetoothchat D/OpenGLRenderer﹕ Enabling debug mode 0

03-21 21:45:57.921 28983-28983/com.example.android.bluetoothchat W/InputEventReceiver﹕ Attempted to finish an input event but the input event receiver has already been disposed.

03-21 21:45:58.791 28983-28983/com.example.android.bluetoothchat D/dalvikvm﹕ GC_FOR_ALLOC freed 206K, 3% free 9292K/9532K, paused 16ms, total 18ms

03-21 21:46:00.623 28983-28983/com.example.android.bluetoothchat D/BluetoothChatService﹕ connect to: D0:7E:35:D6:77:5B

03-21 21:46:00.623 28983-28983/com.example.android.bluetoothchat D/BluetoothChatService﹕ setState() 1 -> 2

03-21 21:46:00.623 28983-29133/com.example.android.bluetoothchat I/BluetoothChatService﹕ BEGIN mConnectThread SocketType:Secure

03-21 21:46:00.633 28983-29133/com.example.android.bluetoothchat W/BluetoothAdapter﹕ getBluetoothService() called with no BluetoothManagerCallback

03-21 21:46:00.633 28983-28983/com.example.android.bluetoothchat I/System.out﹕ setting mState to : 2

03-21 21:46:00.633 28983-29133/com.example.android.bluetoothchat D/BluetoothSocket﹕ connect(), SocketState: INIT, mPfd: {ParcelFileDescriptor: FileDescriptor[50]}

03-21 21:46:00.753 28983-29133/com.example.android.bluetoothchat D/BluetoothChatService﹕ start

03-21 21:46:00.753 28983-29133/com.example.android.bluetoothchat D/BluetoothChatService﹕ setState() 2 -> 1

03-21 21:46:00.753 28983-29133/com.example.android.bluetoothchat I/System.out﹕ setting mState to : 1

03-21 21:47:55.705 28983-28983/com.example.android.bluetoothchat W/IInputConnectionWrapper﹕ showStatusIcon on inactive InputConnection

03-21 21:49:19.227 28983-28983/com.example.android.bluetoothchat I/System.out﹕ Starting logging

03-21 21:49:19.227 28983-28983/com.example.android.bluetoothchat I/MainActivity﹕ Ready

03-21 21:49:25.673 28983-28983/com.example.android.bluetoothchat D/BluetoothChatService﹕ connect to: 00:04:3E:01:72:3C

03-21 21:49:25.683 28983-28983/com.example.android.bluetoothchat D/BluetoothChatService﹕ setState() 1 -> 2

03-21 21:49:25.683 28983-28983/com.example.android.bluetoothchat I/System.out﹕ setting mState to : 2

03-21 21:49:25.683 28983-29249/com.example.android.bluetoothchat I/BluetoothChatService﹕ BEGIN mConnectThread SocketType:Insecure

03-21 21:49:25.693 28983-29249/com.example.android.bluetoothchat W/BluetoothAdapter﹕ getBluetoothService() called with no BluetoothManagerCallback

03-21 21:49:25.703 28983-29249/com.example.android.bluetoothchat D/BluetoothSocket﹕ connect(), SocketState: INIT, mPfd: {ParcelFileDescriptor: FileDescriptor[62]}

03-21 21:49:30.248 28983-28983/com.example.android.bluetoothchat D/BluetoothChatService﹕ connect to: D0:7E:35:D6:77:5B

03-21 21:49:30.248 28983-28983/com.example.android.bluetoothchat D/BluetoothChatService﹕ setState() 2 -> 2

03-21 21:49:30.248 28983-29255/com.example.android.bluetoothchat I/BluetoothChatService﹕ BEGIN mConnectThread SocketType:Insecure

03-21 21:49:30.248 28983-28983/com.example.android.bluetoothchat I/System.out﹕ setting mState to : 2

03-21 21:49:30.248 28983-29249/com.example.android.bluetoothchat D/BluetoothChatService﹕ start

03-21 21:49:30.258 28983-29249/com.example.android.bluetoothchat D/BluetoothChatService﹕ setState() 2 -> 1

03-21 21:49:30.258 28983-29249/com.example.android.bluetoothchat I/System.out﹕ setting mState to : 1

03-21 21:49:30.268 28983-29255/com.example.android.bluetoothchat D/BluetoothChatService﹕ start

03-21 21:49:30.268 28983-29255/com.example.android.bluetoothchat D/BluetoothChatService﹕ setState() 1 -> 1

03-21 21:49:30.268 28983-29255/com.example.android.bluetoothchat I/System.out﹕ setting mState to : 1

03-21 21:49:34.131 28983-28983/com.example.android.bluetoothchat D/dalvikvm﹕ GC_FOR_ALLOC freed 248K, 3% free 9559K/9840K, paused 20ms, total 20ms

03-21 21:49:44.992 28983-28983/com.example.android.bluetoothchat D/BluetoothChatService﹕ connect to: 00:04:3E:01:72:3C

03-21 21:49:44.992 28983-28983/com.example.android.bluetoothchat D/BluetoothChatService﹕ setState() 1 -> 2

03-21 21:49:44.992 28983-29275/com.example.android.bluetoothchat I/BluetoothChatService﹕ BEGIN mConnectThread SocketType:Insecure

03-21 21:49:44.992 28983-28983/com.example.android.bluetoothchat I/System.out﹕ setting mState to : 2

03-21 21:49:44.992 28983-29275/com.example.android.bluetoothchat W/BluetoothAdapter﹕ getBluetoothService() called with no BluetoothManagerCallback

03-21 21:49:45.002 28983-29275/com.example.android.bluetoothchat D/BluetoothSocket﹕ connect(), SocketState: INIT, mPfd: {ParcelFileDescriptor: FileDescriptor[54]}

03-21 21:49:51.849 28983-29275/com.example.android.bluetoothchat D/BluetoothChatService﹕ start

03-21 21:49:51.849 28983-29275/com.example.android.bluetoothchat D/BluetoothChatService﹕ setState() 2 -> 1

03-21 21:49:51.849 28983-29275/com.example.android.bluetoothchat I/System.out﹕ setting mState to : 1

03-21 21:49:53.921 28983-28983/com.example.android.bluetoothchat D/BluetoothChatService﹕ connect to: 00:04:3E:01:72:3C

03-21 21:49:53.921 28983-28983/com.example.android.bluetoothchat D/BluetoothChatService﹕ setState() 1 -> 2

03-21 21:49:53.921 28983-28983/com.example.android.bluetoothchat I/System.out﹕ setting mState to : 2

03-21 21:49:53.931 28983-29287/com.example.android.bluetoothchat I/BluetoothChatService﹕ BEGIN mConnectThread SocketType:Insecure

03-21 21:49:53.941 28983-29287/com.example.android.bluetoothchat W/BluetoothAdapter﹕ getBluetoothService() called with no BluetoothManagerCallback

03-21 21:49:53.941 28983-29287/com.example.android.bluetoothchat D/BluetoothSocket﹕ connect(), SocketState: INIT, mPfd: {ParcelFileDescriptor: FileDescriptor[64]}

03-21 21:50:00.677 28983-29287/com.example.android.bluetoothchat D/BluetoothChatService﹕ start

03-21 21:50:00.677 28983-29287/com.example.android.bluetoothchat D/BluetoothChatService﹕ setState() 2 -> 1

03-21 21:50:00.677 28983-29287/com.example.android.bluetoothchat I/System.out﹕ setting mState to : 1

03-21 21:51:14.249 28983-28983/com.example.android.bluetoothchat W/IInputConnectionWrapper﹕ showStatusIcon on inactive InputConnection

03-21 21:51:59.593 29607-29607/com.example.android.bluetoothchat D/dalvikvm﹕ GC_FOR_ALLOC freed 214K, 3% free 9284K/9532K, paused 32ms, total 33ms

03-21 21:52:00.905 29607-29607/com.example.android.bluetoothchat D/BluetoothChatService﹕ connect to: D0:7E:35:D6:77:5B

03-21 21:52:00.915 29607-29607/com.example.android.bluetoothchat D/BluetoothChatService﹕ setState() 1 -> 2

03-21 21:52:00.915 29607-29674/com.example.android.bluetoothchat I/BluetoothChatService﹕ BEGIN mConnectThread SocketType:Insecure

03-21 21:52:00.915 29607-29607/com.example.android.bluetoothchat I/System.out﹕ setting mState to : 2

03-21 21:52:00.915 29607-29674/com.example.android.bluetoothchat W/BluetoothAdapter﹕ getBluetoothService() called with no BluetoothManagerCallback

03-21 21:52:00.925 29607-29674/com.example.android.bluetoothchat D/BluetoothSocket﹕ connect(), SocketState: INIT, mPfd: {ParcelFileDescriptor: FileDescriptor[50]}

03-21 21:52:01.135 29607-29674/com.example.android.bluetoothchat D/BluetoothChatService﹕ start

03-21 21:52:01.135 29607-29674/com.example.android.bluetoothchat D/BluetoothChatService﹕ setState() 2 -> 1

03-21 21:52:01.135 29607-29674/com.example.android.bluetoothchat I/System.out﹕ setting mState to : 1

03-21 21:52:21.625 29785-29785/com.example.android.bluetoothchat I/System.out﹕ Starting logging

03-21 21:52:21.625 29785-29785/com.example.android.bluetoothchat I/MainActivity﹕ Ready

03-21 21:52:21.625 29785-29785/com.example.android.bluetoothchat D/BluetoothChatService﹕ start

03-21 21:52:21.625 29785-29785/com.example.android.bluetoothchat D/BluetoothChatService﹕ setState() 0 -> 1

03-21 21:52:21.625 29785-29785/com.example.android.bluetoothchat I/System.out﹕ setting mState to : 1

03-21 21:52:21.625 29785-29785/com.example.android.bluetoothchat W/BluetoothAdapter﹕ getBluetoothService() called with no BluetoothManagerCallback

03-21 21:52:21.625 29785-29798/com.example.android.bluetoothchat D/BluetoothChatService﹕ Socket Type: SecureBEGIN mAcceptThreadThread[Thread-1731,5,main]

03-21 21:52:21.635 29785-29785/com.example.android.bluetoothchat W/BluetoothAdapter﹕ getBluetoothService() called with no BluetoothManagerCallback

03-21 21:52:21.635 29785-29785/com.example.android.bluetoothchat I/System.out﹕ Starting bluetooth chat

03-21 21:52:21.635 29785-29799/com.example.android.bluetoothchat D/BluetoothChatService﹕ Socket Type: InsecureBEGIN mAcceptThreadThread[Thread-1732,5,main]

03-21 21:52:21.795 29785-29785/com.example.android.bluetoothchat I/Adreno-EGL﹕ <qeglDrvAPI_eglInitialize:320>: EGL 1.4 QUALCOMM Build: I0404c4692afb8623f95c43aeb6d5e13ed4b30ddbDate: 11/06/13

03-21 21:52:21.825 29785-29785/com.example.android.bluetoothchat D/OpenGLRenderer﹕ Enabling debug mode 0

03-21 21:52:27.761 29785-29785/com.example.android.bluetoothchat D/dalvikvm﹕ GC_FOR_ALLOC freed 181K, 3% free 9317K/9532K, paused 16ms, total 16ms

03-21 21:52:29.923 29785-29785/com.example.android.bluetoothchat D/BluetoothChatService﹕ connect to: D0:7E:35:D6:77:5B

03-21 21:52:29.923 29785-29785/com.example.android.bluetoothchat D/BluetoothChatService﹕ setState() 1 -> 2

03-21 21:52:29.923 29785-29845/com.example.android.bluetoothchat I/BluetoothChatService﹕ BEGIN mConnectThread SocketType:Insecure

03-21 21:52:29.923 29785-29785/com.example.android.bluetoothchat I/System.out﹕ setting mState to : 2

03-21 21:52:29.933 29785-29845/com.example.android.bluetoothchat W/BluetoothAdapter﹕ getBluetoothService() called with no BluetoothManagerCallback

03-21 21:52:29.943 29785-29845/com.example.android.bluetoothchat D/BluetoothSocket﹕ connect(), SocketState: INIT, mPfd: {ParcelFileDescriptor: FileDescriptor[49]}

03-21 21:52:30.053 29785-29845/com.example.android.bluetoothchat D/BluetoothChatService﹕ start

03-21 21:52:30.053 29785-29845/com.example.android.bluetoothchat D/BluetoothChatService﹕ setState() 2 -> 1

03-21 21:52:30.053 29785-29845/com.example.android.bluetoothchat I/System.out﹕ setting mState to : 1

03-21 21:52:35.488 29785-29785/com.example.android.bluetoothchat D/BluetoothChatService﹕ connect to: D0:7E:35:D6:77:5B

03-21 21:52:35.498 29785-29785/com.example.android.bluetoothchat D/BluetoothChatService﹕ setState() 1 -> 2

03-21 21:52:35.498 29785-29785/com.example.android.bluetoothchat I/System.out﹕ setting mState to : 2

03-21 21:52:35.498 29785-29858/com.example.android.bluetoothchat I/BluetoothChatService﹕ BEGIN mConnectThread SocketType:Insecure

03-21 21:52:35.508 29785-29858/com.example.android.bluetoothchat W/BluetoothAdapter﹕ getBluetoothService() called with no BluetoothManagerCallback

03-21 21:52:35.518 29785-29858/com.example.android.bluetoothchat D/BluetoothSocket﹕ connect(), SocketState: INIT, mPfd: {ParcelFileDescriptor: FileDescriptor[61]}

03-21 21:52:35.639 29785-29858/com.example.android.bluetoothchat D/BluetoothChatService﹕ start

03-21 21:52:35.639 29785-29858/com.example.android.bluetoothchat D/BluetoothChatService﹕ setState() 2 -> 1

03-21 21:52:35.639 29785-29858/com.example.android.bluetoothchat I/System.out﹕ setting mState to : 1

03-21 21:52:44.477 29785-29785/com.example.android.bluetoothchat D/BluetoothChatService﹕ connect to: 00:04:3E:01:72:3C

03-21 21:52:44.477 29785-29785/com.example.android.bluetoothchat D/BluetoothChatService﹕ setState() 1 -> 2

03-21 21:52:44.477 29785-29874/com.example.android.bluetoothchat I/BluetoothChatService﹕ BEGIN mConnectThread SocketType:Secure

03-21 21:52:44.477 29785-29785/com.example.android.bluetoothchat I/System.out﹕ setting mState to : 2

03-21 21:52:44.477 29785-29874/com.example.android.bluetoothchat W/BluetoothAdapter﹕ getBluetoothService() called with no BluetoothManagerCallback

03-21 21:52:44.477 29785-29874/com.example.android.bluetoothchat D/BluetoothSocket﹕ connect(), SocketState: INIT, mPfd: {ParcelFileDescriptor: FileDescriptor[62]}

03-21 21:52:51.274 29785-29874/com.example.android.bluetoothchat D/BluetoothChatService﹕ start

03-21 21:52:51.274 29785-29874/com.example.android.bluetoothchat D/BluetoothChatService﹕ setState() 2 -> 1

03-21 21:52:51.274 29785-29874/com.example.android.bluetoothchat I/System.out﹕ setting mState to : 1

03-21 21:52:58.191 29785-29785/com.example.android.bluetoothchat W/IInputConnectionWrapper﹕ showStatusIcon on inactive InputConnection

03-21 21:53:56.988 30089-30089/com.example.android.bluetoothchat D/dalvikvm﹕ GC_FOR_ALLOC freed 184K, 3% free 9314K/9532K, paused 17ms, total 17ms

03-21 21:53:58.760 30089-30089/com.example.android.bluetoothchat D/BluetoothChatService﹕ connect to: D0:7E:35:D6:77:5B

03-21 21:53:58.770 30089-30089/com.example.android.bluetoothchat D/BluetoothChatService﹕ setState() 1 -> 2

03-21 21:53:58.770 30089-30162/com.example.android.bluetoothchat I/BluetoothChatService﹕ BEGIN mConnectThread SocketType:Insecure

03-21 21:53:58.770 30089-30162/com.example.android.bluetoothchat W/BluetoothAdapter﹕ getBluetoothService() called with no BluetoothManagerCallback

03-21 21:53:58.780 30089-30162/com.example.android.bluetoothchat D/BluetoothSocket﹕ connect(), SocketState: INIT, mPfd: {ParcelFileDescriptor: FileDescriptor[55]}

03-21 21:53:58.780 30089-30089/com.example.android.bluetoothchat I/System.out﹕ setting mState to : 2

03-21 21:53:58.980 30089-30162/com.example.android.bluetoothchat D/BluetoothChatService﹕ start

03-21 21:53:58.980 30089-30162/com.example.android.bluetoothchat D/BluetoothChatService﹕ setState() 2 -> 1

03-21 21:53:58.980 30089-30162/com.example.android.bluetoothchat I/System.out﹕ setting mState to : 1

03-21 21:54:05.857 30089-30089/com.example.android.bluetoothchat W/IInputConnectionWrapper﹕ showStatusIcon on inactive InputConnection

03-21 21:55:07.427 30089-30089/com.example.android.bluetoothchat I/System.out﹕ Starting logging

03-21 21:55:07.427 30089-30089/com.example.android.bluetoothchat I/MainActivity﹕ Ready

03-21 21:55:20.079 30089-30089/com.example.android.bluetoothchat W/IInputConnectionWrapper﹕ showStatusIcon on inactive InputConnection