如何在Android中自动配对(配对对话)

时间:2018-06-06 05:47:53

标签: android-studio

我希望句柄BluetoothDevice.ACTION_PAIRING_REQUEST能够自动完成配对过程。如果我使用device.setPairingConfirmation(true),则需要BluetoothPreveleged权限。此权限仅适用于系统应用。我在运行时和清单中提供了此权限。我怎样才能做到这一点?

0 个答案:

没有答案