Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
Secure.getString(mContext.getContentResolver(), "bluetooth_address") 在 Android O 中返回 null
当我尝试通过这种方式获取 Android O 设备上的蓝牙地址时 private String getBlutoothAddress Context mContext Check version API Android BluetoothA
Java
Android
androidpermissions
androidbluetooth
android80oreo
BLE扫描记录说明
我正在尝试获取UUID Major Minor IDs从以以下形式收到的 BLE 广告中byte 我已经使用了建议的代码here https stackoverflow com questions 22016224 ble obtain u
Android
Bluetooth
bluetoothlowenergy
androidbluetooth
Android 中订阅 BLE 指示的示例
我已连接到蓝牙设备 我能够使用读取特征 mGatt readCharacteristic getMiliService getCharacteristic uuid 但我无法注册某个特征的指示 我尝试过的 boolean flag1 m G
Android
Bluetooth
bluetoothlowenergy
androidbluetooth
预配对蓝牙设备
我希望能够预先配对蓝牙设备 以避免用户在使用应用程序时感到困惑的步骤 我发现有一项专利用于预配对蓝牙设备的系统 方法和装置 http www google com patents US20070123166 我正在考虑将一组 Android
Android
androidbluetooth
Pairing
如何重启BluetoothLeScanner?
我正在使用 Android 端的 BluetoothLeScanner 将 Android 设备连接到 iOS 第一次一切都完美无缺 问题是 在我连接到其中一台已发现的 iOS 设备后 我停止扫描 stopScan scanCallback
Android
Bluetooth
bluetoothlowenergy
androidbluetooth
如何通过蓝牙查询远程手机是否支持PBAP?
假设两部Android手机通过蓝牙配对并建立连接 如何在客户端以编程方式确定远程设备 服务器 是否支持蓝牙配置文件 例如 PBAP 如果它确实支持 那么如何以编程方式启动与远程设备的 PBAP 会话 我在网上进行了广泛的搜索 但到目前为止还
Java
Android
Bluetooth
UUID
androidbluetooth
低功耗蓝牙:Android Gatt 客户端连接到 Linux Gatt 服务器
我尝试通过蓝牙低功耗 GATT 模式将 android 连接到 linux Bluez中有一个示例代码 btgatt server c http code metager de source xref linux bluetooth blu
Linux
bluetoothlowenergy
androidbluetooth
bluez
在 Android 中读取 GATT 特性的正确方法是什么?
在尝试读取 Android API 18 中蓝牙低功耗 GATT 特征的值时 我遇到了以下困境 检索特征中存储的值的正确方法是什么 该操作应该在堆栈的哪一层进行 在进行自己的研究时 我偶然发现了两种可能的方法 蓝牙关贸总协定 readCha
bluetoothlowenergy
androidbluetooth
android43jellybean
Android 设备可以充当 iBeacon 吗?
Android 设备能否充当 iBeacon 并确定其他 Android 设备何时进入其范围 其他 Android 设备需要打开蓝牙吗 如果顾客来到我的商店 但他的设备上没有安装我的应用程序 iBeacon 可以工作吗 还是必须先安装该应用
Android
Bluetooth
bluetoothlowenergy
ibeacon
androidbluetooth
蓝牙适配器不会停止扫描 BLE 设备
在我的应用程序中 我有开始和停止按钮 当用户按下开始时 我调用 startScan 方法 bluetoothAdapter getBluetoothLeScanner startScan getLeScanCallback 当用户按停止时
Android
bluetoothlowenergy
androidbluetooth
如何检测我的 Android 设备何时与配对的蓝牙设备连接/断开连接
我希望收到一个事件来检测蓝牙在我的设备中配对或取消配对的时间 一开始我发现http developer android com reference android bluetooth BluetoothServerSocket html h
Android
Bluetooth
androidbluetooth
androidble
使用蓝牙 LE 在 iOS 和 Android 之间进行通信
我有一个工作应用程序 使用 CoreBluetooth 在 iPad 中央 和 iPhone 外围 之间进行通信 我有一项服务有两个特点 我的 Nexus 7 运行最新的 Android 4 3 支持 BTLE Android 加入 BTL
BLE 设备是否应该配对?或者设备配对必须具备哪些条件?
当从应用程序 android 和 ios 连接到自定义 BLE 设备时 我有两个选项 a 首先在手机上配对设备 如耳机或其他设备 然后从应用程序中使用它来读取和写入数据 b 无需在手机上配对 进入应用程序 搜索具有特定名称或地址的设备 然后
Bluetooth
bluetoothlowenergy
corebluetooth
androidbluetooth
蓝牙无法在后台模式下扫描附近的设备 Android 11+
我尝试在后台模式下扫描附近的蓝牙设备 但它在 Android 11 等某些设备上不起作用 这是我的示例代码 在前台工作得很好 授予所有权限
Android
bluetoothlowenergy
androidbluetooth
BLE 通告数据大小限制
在我的 Android 应用程序上 当我尝试启动 ble 广告时 我尝试添加一些额外的数据 正如我所读到的 广告数据必须 我就是这样做的 var testData abcdefghij var data AdvertiseData Buil
kotlin
bluetoothlowenergy
androidbluetooth
androidble
蓝牙 GATT - onServicesDiscovered(BluetoothGatt gatt, int status) 不包含所有服务
我有代码连接到并尝试发现广告自定义服务的自定义 BLE 服务器设备提供的所有服务 代码works on 搭载 Android 5 1 的 Nexus 5 三星 SM T320 搭载 Android 4 4 2 中兴 Blade Vec 4G
Android
bluetoothlowenergy
androidbluetooth
Android 蓝牙:获取设备特定 AT 命令
我在用 android bluetooth headset action VENDOR SPECIFIC HEADSET EVENT 意图获取设备特定的 AT 命令 但是当我从我的蓝牙套件发送 AT 命令时 广播接收器没有触发 当我发送AT
Android
Bluetooth
androidbluetooth
如何启用 Lollipop 中引入的新蓝牙 A2DP 接收器功能?
我正在尝试修改 Nexus 5 的 AOSP android 映像以包括对蓝牙 A2DP 接收器的支持 我发现 Google 非常友善 为 Nexus 5 提供了一个隐藏的构建目标 https android googlesource co
Android
Bluetooth
Androidsource
androidbluetooth
A2DP
Android BLE,读写特性
我目前正在开发 Android BLE 并遇到了很多 Android BLE 堆栈的问题 我的开发工具是带有 Android 4 3 的 Samsung Galaxy J 我想知道如何从 BLE 读取特征并写入特征 就像我验证收到的数据 然
Android
bluetoothlowenergy
androidbluetooth
既然 BluetoothAdapter.getDefaultAdapter() 已被弃用,我该使用什么?
How do I fix the deprecation warning in this code Alternatively are there any other options for doing this val mBluetoot
Android
androidbluetooth
«
1
2
3
4
»