Code example for BluetoothAdapter

Methods: disable, isEnabled, sleep

0
//    		} 
		} 
	} 
 
	public void disableBluetooth() { 
		if (btAdapter.isEnabled()) {
			btAdapter.disable();
			try { 
				Thread.sleep(2000);
			} catch (InterruptedException e) {
				// nothing 
			} 
		} 
	} 
 
	/** 
	 * ����ƥ���豸�в���Ĭ�Ϸ�����PAESERVER 
	 */ 
	public BluetoothDevice getServerFromBondedList() {
 
		if (pairedDevices.size() == 0)