private void initBT(){ mBluetoothController = BluetoothController.getInstance().build(this); mBluetoothController.setAppUuid(UUID.fromString("fa87c0d0-afac-12de-8a39-0450200c9a66")); mBluetoothController.setBluetoothListener(mListener); tvBTState.setText("Bluetooth state: " + Utils.transBtStateAsString(mBluetoothController.getBluetoothState())); }