Code example for BluetoothAdapter

Methods: getBondedDevicesisEnabled

	public static Set<BluetoothDevice> getPairedDevicesList() {
		if (D)
			if(D)Log.e(TAG, "++ getPairedDevicesList ++");
		if (!btAdapter.isEnabled()) {
			if (D)
				if(D)Log.e(TAG, "adapter not enabled");
		} else { 
			pairedDevices = btAdapter.getBondedDevices();
		return pairedDevices;
	 * This method searches for a BluetoothDevice that matches the specified 
	 * name. It will only search for the device among paired devices. 
	 * @param name 
	 *            The name of the bluetooth device 
Connect your IDE to all the code out there  Get Codota for Java