[英]Connect Bluetooth devices without user interaction in Android programmatically
How to connect Bluetooth devices without user interaction for pairing and connect via secure method too? 如何在没有用户交互的情况下连接蓝牙设备进行配对并通过安全方法进行连接? And also want to know about android.permission.BLUETOOTH_PRIVILEDGE permission.
并且还想了解android.permission.BLUETOOTH_PRIVILEDGE权限。
The only way to achieve this is use the BLUETOOTH_PRIVILEGED
permission, but you can't use this permission if your app is a third party app (non-system app). 实现此目的的唯一方法是使用
BLUETOOTH_PRIVILEGED
权限,但如果您的应用是第三方应用(非系统应用),则无法使用此权限。 To learn more, see Android API: BLUETOOTH_PRIVILEGED 要了解更多信息,请参阅Android API: BLUETOOTH_PRIVILEGED
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.