Android蓝牙开发(一):从源码看蓝牙

Android API27为例,先看下源码都要哪些类?html android.bluetooth包下有有一个le包(ble低功耗相关的类),和其余类 如图所示,核心类为android BluetoothAdapter (本地蓝牙适配器):使用这个你能够发现其余蓝牙设备,查询已配对的设备列表 BluetoothDevice (远程蓝牙设备):与远程设备的BluetoothSocket链接,或查询
相关文章
相关标签/搜索