摘要: 下面是在bluetoothsettings.java中注册蓝牙Intent的函数:privatebooleaninitBluetoothAPI(){mIntentFilter=//跟远端蓝牙设备连接上时返回来的intentnewIntentFilter(BluetoothIntent.REMOTE_DEVICE_CONNECTED_ACTION);//跟远端蓝牙设备断开时返回来的intentmIntentFilter.addAction(BluetoothIntent.REMOTE_DEVICE_DISCONNECTED_ACTION);//跟远端的蓝牙设备配对上时收到的intent,不过前提 阅读全文
posted @ 2012-03-19 11:07 天南星客 阅读(649) 评论(0) 推荐(0) 编辑