在Icele和ANDROID的Appcelerator上获得蓝牙访问权限

问题描述 投票:0回答:1

我正在尝试获取蓝牙设备列表,并检查特定设备是否与钛Appcelerator连接。什么是最好的方法?

我使用了库https://github.com/hansemannn/titanium-bluetooth/但不知道如何实现我想要的。

bluetooth appcelerator
1个回答
2
投票

您是否看过提供的API文档?它不是项目根源的索引降价,而是在这里:https://github.com/hansemannn/titanium-bluetooth/blob/master/documentation/index.md

我没有使用过该模块,但在我看来,你可以使用CentralManager启动扫描,我假设它返回一个你可以连接的外围设备列表。

© www.soinside.com 2019 - 2024. All rights reserved.