Code example for BluetoothAdapter

Methods: isEnabled

0
		if (mBluetoothAdapter == null) {
			if(D) Log.e(TAG, "Bluetooth is not available");
			return null; 
		} 
		else{ 
			if (!mBluetoothAdapter.isEnabled()){ 
				if(D) Log.d(TAG, "Bluetooth is not enabled");
				// TODO start UI activity to enable Bluetooth 
				return null; 
			} 
			else 
			{ 
				Log.d(TAG, "Found Bluetooth adapter");
				return this;
			} 
		}  
	} 
	 
	@Override 
	public void stopModule() { 
		/*