UUID uuid = java.util.UUID.fromString("0000fff1-0000-1000-8000-00805f9b34fb");BluetoothSocket socket = bluetoothDevice.createRfcommSocketToServiceRecord(uuid);socket.connect();