Disconnect a bluetooth socket in Android
Please remember to close your Input/output streams first, then close the socket. By closing the streams, you kick off the disconnect process. After you close the socket, the connection should be fully broken down. If you close the socket before the streams, you may be bypassing certain shutdown steps, such as the (proper) closing of … Read more