刷新已配对蓝牙设备的服务列表!

发布于 2024-08-24 10:28:56 字数 115 浏览 5 评论 0原文

是否可以在程序中刷新配对设备的服务列表? 目前,我必须进入蓝牙选项并选择蓝牙设备的设备属性,并且必须手动刷新服务列表。

RIMM 是否提供任何 API 可以以编程方式执行?

谢谢,

Is there any possibility to refresh the service list of a paired device in a programm?
At the moment, i have to go to the bluetooth options and select the device properties of the bluetooth device and have to refresh the service list manually.

Is there any API that RIMM provides to do programmatically?

thanks,

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

楠木可依 2024-08-31 10:28:56

您是否尝试过使用 DiscoveryAgent.startInquiry() ?或者,如果您已经拥有感兴趣的设备的 RemoteDevice 对象,则可以使用 DiscoveryAgent.searchServices()

http://www.blackberry.com/developers/docs/5.0.0api/javax/bluetooth/DiscoveryAgent.html

Have you tried using DiscoveryAgent.startInquiry()? Or if you already have a RemoteDevice object for the device you're interested in, you could use DiscoveryAgent.searchServices()

http://www.blackberry.com/developers/docs/5.0.0api/javax/bluetooth/DiscoveryAgent.html

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文