标签:android 使用 on ad new tt view public oo
open.setOnCheckedChangeListener(new OnCheckedChangeListener() {
@Override
public void onCheckedChanged(CompoundButton buttonView,
boolean isChecked) {
// TODO Auto-generated method stub
if (isChecked) {
mBluetoothAdapter.enable();//打开蓝牙
} else {
mBluetoothAdapter.disable();// 关闭蓝牙
}
}
});
标签:android 使用 on ad new tt view public oo
原文地址:http://www.cnblogs.com/luxiaolai/p/4024467.html