Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
一个广泛的项目:将音频从麦克风流式传输到 Android 设备
我想从蓝牙麦克风获取音频输入并将其大声输出 就像扩音器或简单的 PA 系统一样 并实时播出 为此 我使用 AudioRecord 和 AudioTrack 类 因为 MediaRecorder 和 MediaPlayer 写入和读取外部文件
Android
Bluetooth
audiostreaming
androidbluetooth
androidaudiorecord
如何以编程方式配对 Android 蓝牙设备
我正在开发一个应用程序 我想连接蓝牙设备 主要问题是我不希望用户输入所需的密码 而是应用程序应该自己执行此操作 我没有任何与连接相关的问题 只想要由应用程序本身插入并完成 pin 身份验证过程 我发现以下代码我确信它可以工作 但不确定如何在
Android
Bluetooth
androidbluetooth
Android 12 新蓝牙权限
蓝牙是我们应用程序的主要依赖项 因此 我们已经尝试实现新的 Android 12 蓝牙权限 我们唯一的资源是Android 开发人员 Android 12 中的新蓝牙权限 就是说添加权限 android permission BLUETOO
Android
Bluetooth
androidpermissions
androidbluetooth
Android12
如何确定何时收到蓝牙文件?
在我的应用程序中 我需要在收到蓝牙传输的文件后对其进行编辑 为了查明何时通过蓝牙接收到文件 我必须使用 BroadcastReceiver 监听什么 Intent 另外 请告诉我是否还有其他解决方案 如果用户通过 Android 操作系统获
Android
androidintent
androidbroadcast
androidbluetooth
蓝牙 BLE 服务在 onCharacteristicRead 处返回状态 = 10
我尝试从我连接的设备读取一些配置 但在回调中 onCharacteristicRead 参数 status 10 我注意到 status 0 表示 BluetoothGatt GATT SUCCESS 10 代表什么 我的代码如下 publ
Android
Bluetooth
bluetoothlowenergy
androidbluetooth
Android 蓝牙 ScanFilter 部分字符串匹配
我希望使用 ScanFilter 来搜索一组蓝牙设备 我知道所有这些设备的地址都以 00 A0 50 开头 然后最后 6 位数字有所不同 因此所有地址都将类似于 00 A0 50 XX XX XX 我正在寻找一种使用方法设置设备地址查找地址
Java
Android
regex
Bluetooth
androidbluetooth
ACCESS_COARSE_LOCATION 不适用于 Android 6 [重复]
这个问题在这里已经有答案了 我按照官方的例子来写这个程序 public class BluetoothActivity extends AppCompatActivity private static final long SCANNING
Android
androidbluetooth
bluetoothlowenergy
如何提高 BLE 应用程序的吞吐量?
我有一个作为中央设备的 Android 客户端 并且在我的 MAC 外设 上有一个应用程序 该中央设备连接到该应用程序并发送数据 此时 在调用 writeCharacteristic 后 我需要等待近 100ms 才能收到 onCharac
Android
Bluetooth
bluetoothlowenergy
corebluetooth
androidbluetooth
Android如何使用PriorityQueue读取多个BLE特征
有点卡在这里 可能需要你的帮助 我想一次读取多个 BLE 特性 有些人建议使用 PriorityQueue 我已经知道所有的 uuid 等 只需要一种方法可以一次读取多个 谁能解释一下它究竟应该是什么样子 或者也许还有另一个更简单的解决方案
Java
Android
bluetoothlowenergy
PriorityQueue
androidbluetooth
获取 Android 蓝牙设备的重命名名称
我的 Android 手机允许我重命名已配对的设备 方法是转至 设置 gt 无线和网络 gt 蓝牙 活动页面 然后单击已配对蓝牙设备右侧的设置按钮 但是 当我查询带有以下内容的绑定设备列表时蓝牙适配器 getBondedDevices 函数
Android
androidbluetooth
Android 低功耗蓝牙:characteristic.getPermissions() 返回 0?
我正在编写一个Android BLE应用程序 我正在尝试获取某个特性的权限 我已经设法使用characteristic getProperties 获取特征属性 并且它返回一个非零值 但是 当我使用getPermission 方法时 它返回
Java
Android
Bluetooth
bluetoothlowenergy
androidbluetooth
如何以编程方式区分android中连接的蓝牙设备?
是蓝牙耳机还是手机 如何在 Android 代码中区分蓝牙耳机和支持蓝牙的 Android 设备 我正在开发一个小型应用程序 因为我具有阻止通过蓝牙传输数据的功能 但它需要允许通过蓝牙耳机进行通信 我参考了他们建议我的示例和代码 仅配对 取
Android
Bluetooth
androidbluetooth
androidbroadcast
每个连接请求都被视为直接连接请求+ android ble
我们正在编写一个 ble 应用程序 希望与我们想要连接的外设建立持久连接 出于同样的目的 每当我们失去现有连接时 我们都希望与外围设备重新连接 因此 我们作为中心的 Android 应用程序只是尝试通过调用 bluetoothdevice
Android
bluetoothlowenergy
androidbluetooth
«
1
2
3
4