Code example for BluetoothAdapter

Methods: getBondedDevices

0
	} 
	 
	public synchronized Set<BluetoothDevice> GetDevices()
	{ 
		// Get a set of currently paired devices 
        return mBtAdapter.getBondedDevices();
	} 
	 
	public synchronized Boolean SendCommand(String command)
	{ 
		if(mState == STATE_CONNECTED)
		{ 
			//write to the connected stream 
			return true; 
		} 
		 
		return false; 
	} 
	 
	private synchronized void setState(int state)
	{