Android 蓝牙打开与关闭
/** * 打开蓝牙 * @param activityObj * @param requestCode */ public void turnOnBlueTooth(Activity activityObj,int requestCode){ Intent intentObj = new Intent(BluetoothAdapter.ACTION_REQUEST_ENABLE); activityObj.startActivityForResult(intentObj,requestCode); }