使用BluetoothManager的getAdapter()方法代替
示例代码:
BluetoothManager bluetoothManager = (BluetoothManager) getSystemService(Context.BLUETOOTH_SERVICE); BluetoothAdapter bluetoothAdapter = bluetoothManager.getAdapter();
上一篇:12306官网登录入口-铁路局长亲身体验12306官网:验证码地狱、抢票大战全揭秘
下一篇:BluetoothandBLEprofiles