Bluetooth Connection drops automatically with Anrdoid Application
问题 I am creating an application which Connects with the BLE Device with android application programmatically. Here's my code for the Connect / Disconnect When use clicks on the Connect button new Thread(new Runnable() { @Override public void run() { mConnecting = true; mConnectException = null; mConnectWait.close(); // Reset the condition. if (mConnectedGatt != null) { // Reconnect to the BLE DEX adapter. Logger.d(LOG_TAG, "going to connect"); mConnectedGatt.connect(); BluetoothDevice device =