For my application I\'m trying to programmatically pair a bluetooth device. I\'m able to show the pairing dialog for the device I want to pair and I can enter a pincode. Whe
This is how I get it:
Bluetooth device = mBtAdapter.getRemoteDevice(address); //address:11:23:FF:cc:22 Method m = device.getClass() .getMethod("createBond", (Class[]) null); m.invoke(device, (Object[]) null); // send pairing dialog request After pairing// connectDevice(address);