android的bluetooth
来源:互联网 发布:室内设计用哪些软件 编辑:程序博客网 时间:2024/05/16 01:18
打开蓝牙
public void turnOnBT(){
BluetoothAdapter btAdapter = BluetoothAdapter.getDefaultAdapter();
if(!btAdapter.isEnabled){
Intent i = new Intent(BluetoothAdapter.ACTION_REQUEST_ENABLE);
startActivityForResult(i,CODE_TURN_ON_BT);
}else{
startActivityForResult(new Intent(this,DeviceListActivity.class),CODE_DEVICE_LIST);
}
}
0 0
- android的bluetooth
- ANDROID的 BLUETOOTH 实现机制
- Android中bluetooth的架构
- Android中bluetooth的架构
- Android中bluetooth的架构
- [Bluetooth] Android Bluetooth
- Bluetooth--- android -- 蓝牙 bluetooth
- BlueTooth: BlueTooth的Profile
- Android Bluetooth
- Android bluetooth
- Android Bluetooth
- android Bluetooth
- Android Bluetooth
- android bluetooth
- android bluetooth
- Android Bluetooth
- Android Bluetooth
- android bluetooth
- Python 使用list实现简单的堆栈
- UVA10375 Choose and divide 质因数分解
- Latent semantic analysis note(LSA) or Latent Semantic Indexing (LSI)
- Leetcode 之 Same Tree
- 美日汇
- android的bluetooth
- MPlayer
- Erlang 单元测试
- 写在Android开发之初
- 可怜的js居然没有块级作用域
- 公交路线查询
- 『IOS』How to deal with Icon@2x.png in svn?
- 唐崇荣牧师谈灵恩派
- BASH解析网HTML的尝试