可以自定义Android蓝牙配对请求通知吗?
我正在尝试创建一个 Android 应用程序,让用户可以非常清晰、简单地连接到蓝牙设备来收集一些数据。
理想情况下,我想消除配对请求通知并让应用程序自动与设备配对,但不确定这是否可行。如果没有,是否可以自定义配对请求通知?目前它显示“要与 XXX 配对,请确认它正在显示密钥...”是否可以自定义以使其更加用户友好?
有没有办法绕过这个?
谢谢
I'm trying to create an Android App that makes it very clear and simple for a user to connect to a bluetooth device to collect some data.
Ideally, I'd like to eliminate the pairing request notification and have the app auto-pair to the device but not sure if this is possible. If not, is it possible to customize the pairing request notification? It currently says "To pair with XXX confirm it is showing the passkey..." Can that be customized to be more user friendly?
Is there anyway to bypass this?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不要相信可以避免配对。我的意见是出于安全原因这是强制性的......
Don't believe it's possible to avoid pairing.. My opinion is that is mandatory there for security reasons...